Hello,
It highlights all occurrences of the selected word in the visible text.
Processing complexity is O(n+m) time and space (the KMP algorithm is
used to achieve this.) I estimated it should introduce little
latency when processing is triggered ( < 200 milliseconds). Works
very well (I use it daily, and have seen no slow down).
I think that it differs from mark all instances in the following way.
I guess that mark all instances searches the whole file which may be
huge. The plugin only searches the text that you see in the scintilla
widget. When you scroll, for example, the plugin is triggered and
again searches in the visible text for all occurrences of selected word,
if any. So you don't have to wait when you edit or read text with
Geany.
You may use the plugin when you read some code: click on some variable,
and then you see all places where it is used, or click on return and you
see all places where return statement is used in some function.
You may also use the plugin to select any kind of text from any huge
copy of if) and then you may see all visible occurrences of some word.
Have a great day,
Marius Ioan Buzea
On Wednesday, May 27, 2015 4:10 PM, Thomas Martitz <kugel@rockbox.org> wrote:
Am 27.05.2015 um 14:25 schrieb marius buzea:
> Hello,
>
> I would like to add GeanyHighlightSelectedWords, to Geany Plugins.
> Would it be okay that I do a git pull-request for doing this? I
> am the mgnt user on sourceforge, and last week there was a ticket
> added to GeanyHighlightSelectedWords, ticket #2, and in this
> ticket was a question: why not make a pull-request to Geany Plugins.
>
> I know there would be some things I would need to do before, like
> replace the Makefile with Makefile.am, the autotools, automake way,
> and write a README file using restructured text content so that that
> README file can be converted to html. Maybe there is more that
> should be done.
>
> I hope my question is okay.
>
> Have a great day,
> Marius Ioan Buzea
What does this plugin do exactly? Addons can already mark all instances
of the selected word (same as ctrl+shift+m if a word already selected).
_______________________________________________
Devel mailing list
Devel@lists.geany.orghttps://lists.geany.org/cgi-bin/mailman/listinfo/devel