Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Double click text selection in CFEclipse

In CFEclipse, I do a lot of double-clicking to select text. The standard behavior is to select all text within the nearest word boundaries. This is problematic when editing code where the original editor didn't use camel-case; for example, they wrote "myObject" as "my_object".

Is there a way to change the double-click selection behavior to include '_' as a valid word character?

like image 253
Ross Avatar asked Jun 25 '26 16:06

Ross


2 Answers

In the latest version of CFEclipse, there is now the option to define what characters are considered word boundaries when double-clicking, and also the option to use different characters when using alt or shift keys.

In Preferences, goto CFEclipse > Editor > Text Selection to update this: alt text
(source: bpsite.net)

like image 158
Peter Boughton Avatar answered Jun 28 '26 06:06

Peter Boughton


CFEclipse does not recognize either the underscore or a period as a character for selecting text with a double-click. There is no way that I know of other than rolling your sleeves up and hacking the editor code to change it. I doubt that this will be changed any time soon with the impending release of Bolt from Adobe.

like image 34
anopres Avatar answered Jun 28 '26 07:06

anopres



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!