[geany/geany] More precise scrolling on touchpads (#1425)
by ̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄ ̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄� �̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄ ̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄� �̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄ ̄̄̄̄ ̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄ ̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄� �̄̄̄̄
07 Mar '17
07 Mar '17
If you use a touchpad, the mouse scroll distance is a float value, not just 1 or -1.
Currently when scrolling in geany, it scrolls 4 (in my experience) lines seriatim.
Instead you could use the float value to perform more fine scrolling (at least 1 line at once) and save the unused rest to a static variable.
For example when the static variable's value is -0.3 and the scroll distance is -0.2, the distance is firstly multiplied by that scroll factor 4, which gives -0.8, then the static variable is added. The result is -1.1, thus it scrolls one line up and the static variable becomes -0.1.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1425
## General:
No important general changes have been done.
## Automark
* Fix a possible crash if nothing is selected for automarking
* Replace internal usage of deprecated functions
## Commander
* Fix a possible crash on startup with latest GTK3
## Debugger
* Fix a possible crash if debug-modus is enabled (PR #511)
## Geanyctags
* Show online help via help button (PR #521)
## GeanyDoc
* Improve compatibility with Gtk3
* Allow to use current word as initial text in interactive mode (PR #457)
## GeanyLua
* Remove deprecated GeanyFunctions from interface provided by this plugin (PR##439)
* Fix build with latest Scintilla (PR #510)
## GeanyPy
* Sync with upstream GeanyPy version (PR #527)
## Lineoperations
* Add support for selections (PR #378)
## Lipsum
* Add a space before restarting Lorem Ipsum text (#513)
## Markdown
* Allow exporting Markdown as HTML (PR #502)
* Fix relative paths (PR#501)
## PairTagHighlighter
* Add keybinding for jumping to matching tag (PR #466)
* Improve compatibility with Gtk3 (PR #466)
## ProjectOrganizer
* Show online help via help button (PR #521)
* Remember expanded directories in the sidebar when reloading (PR #528)
## Spellcheck
* Treat underscore as word separator (PR #512)
## Tableconvert
* Fix markup of documentation
## Treebrowser
* Fix a possible memory leak (PR #478)
* Add a keybinding to follow current file (PR #524)
* Allow to show menu also with Shift+F10 (PR #523)
* Fix a bug addding files to file list again and again when using refresh-function and no file is selected (PR #525)
* Don't change directory on project save (PR #536)
## Internationalization
* Updated translations: de, es, fr, pt
--
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany-plugins/releases/tag/1.30.0
This allows plugins to detect the API version of Geany at runtime. This enables
switching behavior based on the API version (perhaps using a new feature
with a fallback for older API versions). Previously the only alternatives
were to hard-depend on a more recent Geany version or ignoring new features.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/1406
-- Commit Summary --
* api: new function geany_api_version
-- File Changes --
M src/plugindata.h (2)
M src/pluginutils.c (9)
M src/pluginutils.h (1)
-- Patch Links --
https://github.com/geany/geany/pull/1406.patchhttps://github.com/geany/geany/pull/1406.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1406