Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Occurrences highlighting
carra:
Interesting :)
However, I see that sometimes it can get very difficult to see what you have selected, precisely because of the highlight of occurrences.
See this as an example:
--- Code: ---int main()
{
// try to select these Foos:
if( SomeBool ) Foo( 1 );
else Foo( 2 );
// but not this one:
return Foo( 0 );
}
--- End code ---
The selection color should get painted over the highlights, and not under it. As it is now, I can't see which ocurrences I have selected and which ones not. Another option could be to mix colors or use some transparency.
thomas:
Don't undstand your problem. The first one is highlighted, the other two are highligted and selected. Typing will replace into the lower two.
MortenMacFly:
--- Quote from: thomas on November 13, 2012, 03:58:21 pm ---(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).
--- End quote ---
Thomas, this is possible if you use the "Incremental Search" plugin. Just enable the IS Toolbar from the menu, then enter even single character "words" into the search field and press "highlight". I find this really useful very often.
carra:
Ok, I'll try to post a screenshot when I get home so that you see what I mean.
daniloz:
I also think the highlighting and selection is confusing... see screenshot: I just double-clicked on the the first "cb_unused", but it's hard to tell which one is really selected...
[attachment deleted by admin]
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version