Home Download Buy Blog Forum Support

Highlight Current Word

Re: Highlight Current Word

Postby ajpalkovic on Sat Aug 13, 2011 12:36 am

O, yea, it went through a few iterations. The original version did a search on the whole file for the word, so it delayed it a good bit.

However, I changed it to only do the search on the current viewable area of the file. At most that's searching 1000 character or so, nothing too much.
So, I do the search on more or less every modification (on_sel_modified), and I need to do it when you scroll. There is no on_scroll event, so every 50 ms it checks if the scroll position has changed, and if so does the search.

Sorry for the bad comment.
ajpalkovic
 
Posts: 142
Joined: Fri Jun 10, 2011 10:21 pm

Re: Highlight Current Word

Postby krofix on Sun Oct 09, 2011 4:01 am

How to change the background to selected word ?
krofix
 
Posts: 4
Joined: Sat Oct 08, 2011 7:49 am

Re: Highlight Current Word

Postby kyprios1 on Thu Feb 16, 2012 10:40 am

Could it be made to highlight after double-clicking the word? I think it'd be less distracting
kyprios1
 
Posts: 8
Joined: Sat Nov 05, 2011 11:37 pm

Previous

Return to Plugin Announcements

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 13 guests