Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Highlight all matching words on double click in gedit [closed]

IDEs like Eclipse, CodeBlocks and editors like Notepad++ highlights all instances of a double clicked word. I miss this feature in gedit. Of course, I can do Ctrl+k to highlight all instanced, but it is weird. Is there anyway this feature can be added to gedit by way of plugins? Are there any other editors which can do this in Linux,

like image 742
softwarematter Avatar asked Mar 26 '11 17:03

softwarematter


2 Answers

I think this plugin does want you want:

git clone http://github.com/mmuell23/mmuell23.git
cp -r mmuell23/gedittools/* ~/.gnome2/gedit/plugins

Activate plug-in in gedit preferences and configure it as you wish.

Credits to https://github.com/mmuell23/mmuell23

like image 80
Miguel Rodrigues Avatar answered Nov 11 '22 07:11

Miguel Rodrigues


I just blogged about writing plugins for Gedit 3 (which are not compatible with Gedit 2). If you know Python and have Gedit 3 yet, this plugin would not be that difficult. You'd want to implement the Gedit.ViewActivatable interface and utilize the search function provided with the Gedit.Document API.

Writing Plugins for Gedit 3 with Python

like image 44
Micah Carrick Avatar answered Nov 11 '22 09:11

Micah Carrick