thecocce / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

Mark occurence of words #404

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

I'm missing one of my favourites editor features: mark occurence of words, like 
notepad++ has. For instance having a file like:

(1)var_1 = 145
(2)var_2 = 0.005
(3)do_something(var_1, var_2)

Now, if you mark var_1 in line 1 (doesn't matter whether with mouse or 
keyboard), var_1 in line 3 is marked as well.

Original issue reported on code.google.com by mproel...@googlemail.com on 2 Sep 2010 at 6:06

GoogleCodeExporter commented 9 years ago
What do you mean mark? (Select?)

Original comment by pyscripter on 2 Sep 2010 at 1:21

GoogleCodeExporter commented 9 years ago
Yes, I mean select.

Original comment by mproel...@googlemail.com on 2 Sep 2010 at 1:50

GoogleCodeExporter commented 9 years ago
Here is a small screenshot from Notepad++ to further explain this feature, hope 
you got it. I just marked/selected the word temp on line 6 (either by double 
click or with shift+arrow key)

Original comment by mproel...@googlemail.com on 29 Sep 2010 at 6:05

Attachments:

GoogleCodeExporter commented 9 years ago
Does the highlight only happen when you select a whole word?

Original comment by pyscripter on 29 Sep 2010 at 9:21

GoogleCodeExporter commented 9 years ago
yes (see attached screenshot -> nothing is highlighted when you don't select a 
whole word)! And only whole words are highlighted(see screenshot 
occurence_marking.PNG of previous post: temp which is a substring of temp1 is 
not marked. it is a feature to find easily where you use a variable)

Original comment by mproel...@googlemail.com on 29 Sep 2010 at 11:15

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in Version Control.
IDE Option added "Highlight Selected Word".
The selected word is highlighted when you select a word by double-clicking or 
by issuing the editor command "Select Word".  

Original comment by pyscripter on 30 Sep 2010 at 2:09

GoogleCodeExporter commented 9 years ago

Original comment by pyscripter on 30 Sep 2010 at 3:23