Home Download Buy Blog Forum Support

little plugin to highlight current word

little plugin to highlight current word

Postby gpfsmurf on Fri Nov 13, 2009 10:29 pm

Simple plugin that will highlight all occurences of the word under the cursor (a la Eclipse)

Handy to see where the current variable/function is used.

HighlightCurrentWord
gpfsmurf
 
Posts: 211
Joined: Mon Jun 23, 2008 6:31 pm

Re: little plugin to highlight current word

Postby vim on Fri Nov 13, 2009 10:41 pm

very cool mate!

btw, it will be good to have a way to enable/disable
vim
 
Posts: 298
Joined: Tue May 27, 2008 6:51 pm

Re: little plugin to highlight current word

Postby gpfsmurf on Fri Nov 13, 2009 11:06 pm

Good idea...
I updated the plugin; press ctrl+shift+H to enable/disable
gpfsmurf
 
Posts: 211
Joined: Mon Jun 23, 2008 6:31 pm

Re: little plugin to highlight current word

Postby farfromrefuge on Wed Nov 18, 2009 8:26 am

Thank you so much!
I have been waiting for that feature!
farfromrefuge
 
Posts: 38
Joined: Mon Oct 19, 2009 11:49 am

Re: little plugin to highlight current word

Postby S0und on Thu Jan 28, 2010 12:24 pm

Code: Select all
Traceback (most recent call last):
  File ".\sublimeplugin.py", line 88, in execApplicationCommand
  File ".\HighlightCurrentWord.py", line 49, in run
AttributeError: 'View' object has no attribute 'eraseRegions'
Traceback (most recent call last):
  File ".\sublimeplugin.py", line 88, in execApplicationCommand
  File ".\HighlightCurrentWord.py", line 47, in run
  File ".\HighlightCurrentWord.py", line 38, in onSelectionModified
AttributeError: 'View' object has no attribute 'addRegions'



i got this, when i try to de /activated it, and it's not working
S0und
 
Posts: 70
Joined: Wed Oct 28, 2009 4:12 pm

Re: little plugin to highlight current word

Postby jps on Thu Jan 28, 2010 12:31 pm

You'll need to use the beta version, from http://www.sublimtext.com/beta, for this to work
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm

Re: little plugin to highlight current word

Postby S0und on Thu Jan 28, 2010 12:33 pm

jps wrote:You'll need to use the beta version, from http://www.sublimtext.com/beta, for this to work


thanks
S0und
 
Posts: 70
Joined: Wed Oct 28, 2009 4:12 pm


Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 2 guests