hilite is a problem

powerpcer
Posts: 38
Joined: 22.09.2017 12:37

Post by powerpcer »

from anceint to current, the highlight function should not make usage feel lag.
so hilite should not
1. click and autoselect a word, in large file, if i move mouse to a common word, this will make program lag, in my large sql file example: move mouse to "select"
so config look like this by default
[op]
min_len=1
sel_allow=1
sel_allow_white_space=1
sel_case_sensitive=0
sel_words_only=0
sel_whole_words=0
caret_allow=0
caret_case_sensitive=1
caret_whole_words=1

2. count up when i selected a word, this count up should in "find" function
3. make scrolling lag
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

1) You have old HiliteOccurences plugin. new plugin has option "max_lines". 5000 by default.
I open 100Mb XML file, click any word, or select word== NO LAGS. Plugin works only if <5000 lines.
powerpcer
Posts: 38
Joined: 22.09.2017 12:37

Post by powerpcer »

max_lines which i set to 20, but my 98MB file still very slow and hilite all smiliary word
compare to Akelpad, this function slower 10 times
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

Seems you have old plugin version. update it via Addon Manager plug.
powerpcer
Posts: 38
Joined: 22.09.2017 12:37

Post by powerpcer »

[op]
min_len=1
sel_allow=1
sel_allow_white_space=1
sel_case_sensitive=0
sel_words_only=0
sel_whole_words=0
caret_allow=0
caret_case_sensitive=1
caret_whole_words=1
max_lines=20

[colors]
font_other=#000000
bg_other=#ffff80
font_current=#000000
bg_current=#e3c1e3

this my plugin.Hilite_Occurrences_New setting, is that old?
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

it is not old. Maybe .py file in plugin is old.
Post Reply