-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto-mark: highlights only words visible on screen #294
Comments
Plugin uses delayed algorithm to save resources for huge documents and updates marks while you scrolling. Recently is had a little delay (150 ms). This commit 0801a3c should fix this issue, possibly you are using outdated version of plugin (depending on distribution). |
I have an actual version installed/compiled and noticed the following: This works well ✅:
This things do not seem to work ❌:
Issue 2:
|
I just found out that Issue 2 is the intended/implemented behaviour. See
|
This is the reason - while using PdUp/PgDn for scrolling, you move cursor, loosing current word selection. I have no idea how to fix that without breaking other things. |
ohhh...of course 😊 @stosunek: do you encounter the problem if you only move the cursor on a word or click once on it, or do you encounter the problem if you double-click on a word (and so select it)? |
Issue 2 actually workaround for another Geany plugin (addons) which provides similar functionality for word highlighting (double-click). Probably there were another issues I don't remember. |
Except Issue 2 which is not an issue but works as designed I could not find any problems. Should this be closed? |
The plugin does not highlight all the words that match current word under cursor but only the words which are visible on the screen. During scrolling a document no more highlighted word appears.
The text was updated successfully, but these errors were encountered: