You are here: PSPad forum > English discussion forum > HighLight all other instances of selected word (variable)

HighLight all other instances of selected word (variable)

#1 HighLight all other instances of selected word (variable)

Posted by: nergmlam | Date: 12/29/2011 12:33 | IP: IP Logged

The last 4-5 years I've been using notepad-plus-plus.org as my favorite vbScript editor, BUT BUT BUT

A month ago I decided without any doubt to use your PsPad Editor instead as my favorite vbscript editor the rest of my life. I'm currently using version 4.5.7 (2433)

But there is 1 (yes, and only 1) feature in Notepad++ that I still use, and that's the feature showing ALL other instances in the open file with green background, if I select e.g. a word or variable or functionname and doubleclick it. That makes it easy to find all the other instances scrolling up and down the file.

Yes I know, use Option Explict, or search for the word, but the scrolling is a feature I really like.

Please consider to get such a feature in your next version of PsPad.

--
Sincerely

J. Malmgren
IT-Programmer
Denmark
Version 4.5.7(2441)

Options: Reply | Quote | Up ^


#2 Re: HighLight all other instances of selected word (variable)

Posted by: nergmlam | Date: 12/29/2011 12:48 | IP: IP Logged

An example of my use is if I have called a function a wrong title:

Function sFileFindName(sFileName)

Because the function actually returns the full foldername where sFileName is located.

So I decided to rename ALL instances of sFileFindName to sFileFindFilesFolderName, but I don't trust to use a search/replace, because that might replace some instances, that would corruct my script.

So it's easy to doubleclick sFileFindName in Notepad++, and scroll up and down, and then decide if it's safe to use (CTRL+H OK YesToAll)

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2013 Jan Fiala
Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák