User forums > Using Code::Blocks
highlight of the select variable problem
dje:
--- Quote from: daniloz on October 07, 2009, 10:35:18 am ---
--- Quote from: oBFusCATed on October 07, 2009, 10:16:44 am ---And if there is a way to export the profile to external file, one can be able to give his profile to a co-worker and everybody will edit files in the project the same, so the formating issues/commits will be less frequent.
--- End quote ---
+1 for this very nice and wanted 8) feature...
--- End quote ---
yes, but it is also possible to configure astyle properly and include an astyle step before commiting in the configuration management tool.
Dje
ollydbg:
sorry for bump the old thread, I found a patch here:
http://developer.berlios.de/patch/?func=detailpatch&patch_id=3130&group_id=5358
the author said that "no cpu overload detected", it that true?
sometimes I still need to hightlight one char variable.
thanks.
wf:
I'm using this on windows + Process Explorer for monitoring cpu load. There is no cpu overload because if no text selected:
--- Code: ---if (a == b)
return
--- End code ---
We return at the beginnig of function. Test it someone please.
oBFusCATed:
I've just committed patch #3130, which makes it possible to set the minimum of characters to 1.
The default is still 3, so the current behaviour should be unchanged.
About the slowness, yes there is slowness if the setting is set at 1 and I select 'e' in codecompletion.cpp for example.
It take 1-2 seconds to select all the occurrences. But generally it works OK.
Navigation
[0] Message Index
[*] Previous page
Go to full version