Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Occurrences highlighting
daniloz:
--- Quote from: danselmi on December 21, 2010, 12:55:14 pm ---I have no public repository for this small plugin. Sources are attached.
--- End quote ---
Thank you very much... I find it really useful !!!!
oBFusCATed:
I'm sneaking what the "competition" does and I've found one feature which could be really useful.
See the video: http://www.youtube.com/watch?feature=player_embedded&v=fndDT2GK-KU
The feature they've added is keyboard shortcuts for going to the next/prev occurrence of the highlighted text.
How hard would it be for this to be implemented?
thomas:
I'm afraid that finding references is a lot more complicated than finding syntax-agnostic substrings. Though it would be immensely cool (especially since non-patched occurrence highlighting doesn't do 1-character and 2-character selections, such as variable names like i, or pt, or it).
What would be even more helpful would be a feature to select all references, rather than highlighting them. Code::Blocks already supports non-standard selections and typing into all of them simultaneously. Now, for intuitive, quick-and-failsafe renaming, all one needs is "select all references".
carra:
--- Quote from: thomas on November 13, 2012, 03:58:21 pm ---Code::Blocks already supports non-standard selections and typing into all of them simultaneously.
--- End quote ---
I didn't know about this, where is this option? I have been looking around in menus and context menus, but I can't make multiple selections (let alone typing in multiple places).
Jenna:
--- Quote from: carra on November 13, 2012, 04:12:32 pm ---
--- Quote from: thomas on November 13, 2012, 03:58:21 pm ---Code::Blocks already supports non-standard selections and typing into all of them simultaneously.
--- End quote ---
I didn't know about this, where is this option? I have been looking around in menus and context menus, but I can't make multiple selections (let alone typing in multiple places).
--- End quote ---
Look into "Settings -> Editor... -> Margins and caret -> Selections" .
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version