Comments (7)
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).
from geany-plugins.
I have an actual version installed/compiled and noticed the following:
This works well ✅:
- click on a word once
- scroll with the mouse wheel
- new occurrences of the word coming into the visible area are properly marked
This things do not seem to work ❌:
Issue 1:
- click on a word once
- scroll up or down using page up/page down keys
- new occurrences of the word coming into the visible area NOT marked
Issue 2:
- double click on a word (so it is being selected)
- scroll with the mouse wheel
- new occurrences of the word coming into the visible area NOT marked
from geany-plugins.
I just found out that Issue 2 is the intended/implemented behaviour. See automark/src/automark.c
, lines 116-118:
/* Do not highlight while selecting text and allow other markers to work */
if (sci_has_selection(sci))
return FALSE;
from geany-plugins.
scroll up or down using page up/page down keys
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.
from geany-plugins.
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 😊
So Issue 2 is the only one I can re-produce.
@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)?
from geany-plugins.
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.
from geany-plugins.
Except Issue 2 which is not an issue but works as designed I could not find any problems. Should this be closed?
from geany-plugins.
Related Issues (20)
- 2.0.0: build fails end compile time warnings HOT 10
- 2.0.0: test suite fails with cppcheck 2.13.1 (unrecognized command line option: "--template") HOT 3
- How to install markdown plugin on Mac M1 HOT 6
- Is it possible to open "spelling suggestions" menu using keyboard ? HOT 3
- Add a typst plugin HOT 4
- SVG and X3D markup languages HOT 4
- Make updatechecker plugin for MacOS HOT 17
- BUG during tab-browsing with the keyboard in the sidebar when a new tab is in the sidebar HOT 5
- Feature request - extend plugin Save Actions - code fixers HOT 7
- A release of a click on the tab-title of a plugin-tab in the sidebar should put the content of the tab in focus HOT 6
- Default plugins folder incorrect / not found HOT 1
- Line Operations plugin outputs "Value: 0" to terminal when Geany launches HOT 3
- overview causes geany to crash when crating a new file and clicking in the file area. HOT 7
- plugin idea: cyclomatic complexity somewhere near the functionname in the symbol list. HOT 1
- help with plugin writing docs HOT 5
- GeanyGenDoc crash HOT 12
- Problem with debugging: the system cannot find the specified file
- Wish: Plugin for creating random password HOT 1
- Feature request: NumberedBookmarks Plugin should remember bookmarks when Geany is exited.
- NumberedBookmarks : Allow warning of bookmarks becoming invalid to be suppressed (Feature Request)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geany-plugins.