<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1432650511569_57331"><span id="yui_3_16_0_1_1432650511569_57330">Hello,<br></span></div><div><span id="yui_3_16_0_1_1432650511569_57330"><br></span></div><div id="yui_3_16_0_1_1432650511569_64819"><span id="yui_3_16_0_1_1432650511569_57330">It highlights all occurrences of the selected word in the visible text.</span></div><div id="yui_3_16_0_1_1432650511569_59008" dir="ltr"><span id="yui_3_16_0_1_1432650511569_57330">Processing complexity is O(n+m) time and</span> space  (the KMP algorithm is</div><div id="yui_3_16_0_1_1432650511569_59009" dir="ltr">used to achieve this.)     I estimated it should introduce little</div><div id="yui_3_16_0_1_1432650511569_59886" dir="ltr">latency when processing is triggered ( < 200 milliseconds).      Works</div><div id="yui_3_16_0_1_1432650511569_59862" dir="ltr">very well (I use it daily, and have seen no slow down).</div><div id="yui_3_16_0_1_1432650511569_59861" dir="ltr"><br></div><div id="yui_3_16_0_1_1432650511569_62418" dir="ltr"><br></div><div id="yui_3_16_0_1_1432650511569_59860" dir="ltr">I think that it differs from mark all instances in the following way.</div><div id="yui_3_16_0_1_1432650511569_60416" dir="ltr">I guess that mark all instances searches the whole file which may be</div><div id="yui_3_16_0_1_1432650511569_61545" dir="ltr">huge.   The plugin only searches the text that you see in the scintilla</div><div id="yui_3_16_0_1_1432650511569_61259" dir="ltr">widget.     When you scroll, for example, the plugin is triggered and</div><div id="yui_3_16_0_1_1432650511569_61546" dir="ltr">again searches in the visible text for all occurrences of selected word,</div><div id="yui_3_16_0_1_1432650511569_61834" dir="ltr">if any.     So you don't have to wait when you edit or read text with</div><div id="yui_3_16_0_1_1432650511569_63039" dir="ltr">Geany.<br></div><div id="yui_3_16_0_1_1432650511569_62124" dir="ltr"><br></div><div id="yui_3_16_0_1_1432650511569_62417" dir="ltr"><br></div><div id="yui_3_16_0_1_1432650511569_62416" dir="ltr">You may use the plugin when you read some code:  click on some variable,</div><div id="yui_3_16_0_1_1432650511569_65331" dir="ltr">and then you see all places where it is used, or click on return and you</div><div id="yui_3_16_0_1_1432650511569_63038" dir="ltr">see all places where return statement is used in some function.</div><div id="yui_3_16_0_1_1432650511569_63037" dir="ltr"><br></div><div id="yui_3_16_0_1_1432650511569_103613" dir="ltr"><br></div><div id="yui_3_16_0_1_1432650511569_63036" dir="ltr">You may also use the plugin to select any kind of text from any huge</div><div id="yui_3_16_0_1_1432650511569_62718" dir="ltr">text file.    For example, you may be reading this file <br><a id="yui_3_16_0_1_1432650511569_62717" href="http://www.gutenberg.org/cache/epub/8117/pg8117.txt">http://www.gutenberg.org/cache/epub/8117/pg8117.txt</a>   (well, a local</div><div id="yui_3_16_0_1_1432650511569_63035" dir="ltr">copy of if) and then you may see all visible occurrences of some word.<br></div><div id="yui_3_16_0_1_1432650511569_59010" dir="ltr"><br></div><div id="yui_3_16_0_1_1432650511569_59307" dir="ltr"><br></div><div id="yui_3_16_0_1_1432650511569_59013" dir="ltr">[KMP] <a id="yui_3_16_0_1_1432650511569_104415" href="http://en.wikipedia.org/wiki/Knuth%E2%80%93Morris%E2%80%93Pratt_algorithm">http://en.wikipedia.org/wiki/Knuth%E2%80%93Morris%E2%80%93Pratt_algorithm</a><br></div><div id="yui_3_16_0_1_1432650511569_55043" dir="ltr"><span id="yui_3_16_0_1_1432650511569_55042"><br></span></div><div id="yui_3_16_0_1_1432650511569_63033"><br><span></span></div><div id="yui_3_16_0_1_1432650511569_103614"><span>Have a great day,</span></div><div id="yui_3_16_0_1_1432650511569_104418"><span id="yui_3_16_0_1_1432650511569_104417">Marius Ioan Buzea</span></div>  <br><div id="yui_3_16_0_1_1432650511569_66046" class="qtdSeparateBR"><div id="yui_3_16_0_1_1432650511569_102820"><br></div><div id="yui_3_16_0_1_1432650511569_98883"><br></div><div id="yui_3_16_0_1_1432650511569_98916"><br></div></div><div style="display: block;" id="yui_3_16_0_1_1432650511569_65973" class="yahoo_quoted"> <div id="yui_3_16_0_1_1432650511569_65972" style="font-family: Courier New, courier, monaco, monospace, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1432650511569_65971" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1432650511569_66395" dir="ltr"> <font id="yui_3_16_0_1_1432650511569_66420" face="Arial" size="2"> On Wednesday, May 27, 2015 4:10 PM, Thomas Martitz <kugel@rockbox.org> wrote:<br> </font> </div>  <br><br> <div id="yui_3_16_0_1_1432650511569_94344" class="y_msg_container">Am 27.05.2015 um 14:25 schrieb marius buzea:<div class="yqt8140258434" id="yqtfd11606"><br clear="none">> Hello,<br clear="none">><br clear="none">> I would like to add GeanyHighlightSelectedWords, to Geany Plugins.<br clear="none">> Would it be okay that I do a git pull-request for doing this?   I<br clear="none">> am the mgnt user on sourceforge, and last week there was a ticket<br clear="none">> added to GeanyHighlightSelectedWords, ticket #2, and in this<br clear="none">> ticket was a question:  why not make a pull-request to Geany Plugins.<br clear="none">><br clear="none">> I know there would be some things I would need to do before, like<br clear="none">> replace the Makefile with Makefile.am, the autotools, automake way,<br clear="none">> and write a README file using restructured text content so that that<br clear="none">> README file can be converted to html.      Maybe there is more that<br clear="none">> should be done.<br clear="none">><br clear="none">> I hope my question is okay.<br clear="none">><br clear="none">> Have a great day,<br clear="none">> Marius Ioan Buzea</div><br clear="none"><br clear="none"><br clear="none">What does this plugin do exactly? Addons can already mark all instances <br clear="none">of the selected word (same as ctrl+shift+m if a word already selected).<br clear="none">_______________________________________________<br clear="none">Devel mailing list<br clear="none"><a shape="rect" ymailto="mailto:Devel@lists.geany.org" href="mailto:Devel@lists.geany.org">Devel@lists.geany.org</a><br clear="none"><a shape="rect" href="https://lists.geany.org/cgi-bin/mailman/listinfo/devel" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/devel</a><div class="yqt8140258434" id="yqtfd26087"><br clear="none"></div><br><br></div>  </div> </div>  </div></div></body></html>