Page 1 of 2
Highlight big documents by 'Highlight Occurrences' and Lexer
Posted: 25.06.2021 01:05
by hycmos
Now in cudatext, Both "highlight occurrences" and 'Lexers" do not work when the file is very large (many many lines).
At this time, still very much want to continue to display colors.
actualy, user just can see some lines but not all lines on monitor screen. it is only 50~70 lines.
So both plugins just need load 50~70 lines to color them.
Posted: 25.06.2021 09:02
by uvviewsoft
There are options, you can change them-
https://wiki.freepascal.org/CudaText#Re ... _big_files
And the 'Highlight occurences' plugin has some options about limits.
"Options / Settings-plugins" menu.
>actualy, user just can see some lines but not all lines on monitor screen. it is only 50~70 lines.
And this is the task of LITE lexers:
https://wiki.freepascal.org/CudaText#Lite_lexers
Posted: 25.06.2021 17:43
by Shovel
I had this exact problem with "highlight occurrences" on large logs. Looks like highlighting only in visible text can be done, so I will be adding it in the near future
Posted: 27.06.2021 02:31
by hycmos
Posted: 27.06.2021 02:32
by hycmos
Shovel wrote:I had this exact problem with "highlight occurrences" on large logs. Looks like highlighting only in visible text can be done, so I will be adding it in the near future
O! very good, expect it. easpically for the "highlight occurrences"
Posted: 27.06.2021 10:39
by uvviewsoft
Plugin (Highlight Occurrences) just updated:
2021.06.27
+ add: option "visible_fallback", to highlight occurrences only in visible part of large documents
Please test how it works in huge documents.
Posted: 27.06.2021 10:47
by uvviewsoft
@Shovel, I tested on 300K C++ file, (new option on), word is searched dynamically after scrolling, good!
NOTE!
Now plugin requires the last CudaText from here
http://www.uvviewsoft.com/c/
Posted: 28.06.2021 01:27
by hycmos
Tested it. (6.5MB, 273003 lines)
Work very well. just as expect.
Thanks very much.
It is very useful function.
Posted: 30.06.2021 14:37
by hycmos
Sir,
The button in toolbar can not be colored. It seems the UI-theme setting can not work correctly.
Posted: 30.06.2021 16:59
by uvviewsoft
Some days ago I made a change - all buttons are NOT reacting to mouse hover. it was needed for windows. is this your issue?