Sithu1988 / smart-highlighting-gedit

Automatically exported from code.google.com/p/smart-highlighting-gedit
0 stars 0 forks source link

delay for big files #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Load a big file of say 50Mb, like a csv file.
2. Select a small piece of text

What is the expected output? What do you see instead?
I expect a fast selection, but it takes a long time.

What version of the product are you using? On what operating system?
3.0.3

Please provide any additional information below.
The idea is that the highlighter should dynamically check for what is being 
display now, not the entire document. That way it won't take forever to do the 
search of what to highlight. I know this may mean a lot of work and a different 
approach for the plugin, so I do not expect you to address it. But it happens 
to me often, so a solution would be great.

Original issue reported on code.google.com by nix...@gmail.com on 20 Nov 2012 at 4:58

GoogleCodeExporter commented 8 years ago
May be just disable the plugin for large files is a quick fix. Or use a thread 
to do the calculations?

Original comment by nix...@gmail.com on 20 Nov 2012 at 5:03

GoogleCodeExporter commented 8 years ago
I will think how to fix this.

Original comment by swatch.c...@gmail.com on 27 Nov 2012 at 4:06

GoogleCodeExporter commented 8 years ago
Fixed at v3.0.4.

Original comment by swatch.c...@gmail.com on 9 Dec 2012 at 8:03

GoogleCodeExporter commented 8 years ago
excellent work;

Original comment by nix...@gmail.com on 9 Dec 2012 at 5:12

GoogleCodeExporter commented 8 years ago

Original comment by swatch.c...@gmail.com on 10 Dec 2012 at 4:38

GoogleCodeExporter commented 8 years ago
I have been using the plugin for a while after the fix. I noticed that it does 
not highlight occurrences that take place above the selection if they are 
several lines above the selection. It works when one scrolls down even if the 
new occurrence is far down, but it doesn't work well in the upward direction.

Original comment by nix...@gmail.com on 9 Jan 2013 at 9:08

GoogleCodeExporter commented 8 years ago
The bug about highlight nothing when scrolling upward is fixed at v3.0.5.

Original comment by swatch.c...@gmail.com on 17 Jan 2013 at 5:11

GoogleCodeExporter commented 8 years ago

Original comment by swatch.c...@gmail.com on 18 Jan 2013 at 12:41