when the case issue is solvedI think that's an implementation feature, not an issue. But sure, it could be customized. I personally would like to be able to highlight multiple words too, for example.
Commit? :)
Eh, how are you going ahead, if you don't have the code? :P
go ahead and commit 8)Already done and working nice over here... Cool stuff! 8)
<LanguageAttributes
LineComment="//"
StreamCommentStart="/*"
StreamCommentEnd="*/"
BoxCommentStart="/* "
BoxCommentMid=" * "
BoxCommentEnd=" */"
CaseSensitive="1"/>
Which revision do you have tested?
I just added a patch to svn that should fix this issue.Yep. It works fine. Thanks.
This is not a plugin. It is in the main source of C::BBut it was a plugin sometime (long time) ago, isn't it? Because I have a plugin version... :-p
I have no public repository for this small plugin. Sources are attached.Thank you very much... I find it really useful !!!!
Code::Blocks already supports non-standard selections and typing into all of them simultaneously.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).
Look into "Settings -> Editor... -> Margins and caret -> Selections" .Code::Blocks already supports non-standard selections and typing into all of them simultaneously.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).
int main()
{
// try to select these Foos:
if( SomeBool ) Foo( 1 );
else Foo( 2 );
// but not this one:
return Foo( 0 );
}
(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).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.
I've just patched the code to if(selection.Length() > 0) (therefore me referring to "unpatched"), which always works nicely, and doesn't ignore whitespace (used to trim whitespace, but it's even better without). Whitespace helps finding for example all occurrences of i without highlighting the one in while. Unluckily, it doesn't work nearly as well for for(Blah::iterator it = blah.begin; ...) f(*it); because it won't find the *it --- this is why finding (syntax aware) references would be so interesting.(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).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.
Try and rename a single-letter variable (say, i) in a function that has more than 5 lines.Technically its possible: Scintilla offers multiple selections (not necessarily bound together) an also writing to multiple selections. CC could offer the interface to local variables, bringing both together allows what you want.
I find I get by pretty well with "match case + whole word" or regexp replaces. Something more interactive might be nice, but it might also be a lot of work for small result.