Hi, I'm extending Eclipse using the Eclipse plug-in infrastructure, and I've come into a problem:
I implement my own text editor and while executing it:
In editiong text in my Editor, when i double click on a word containing '-' character. the word is incompletely selected certainly because the '-' character is recognized as a word separator. isn't it?
Example:
here a peace of a text displayed in my editor:
When i double click on the second 'a' in "aaa-bb' only "aaa" is selected. I would like te select the all word "aaa-bb". How can i do it?
For information, i use the default text double click strategy:
public ITextDoubleClickStrategy getDoubleClickStrategy(ISourceViewer sourceViewer, String contentType) {
return new DefaultTextDoubleClickStrategy();}
How to change the word separator and add the '-' character?
Thank's in advance.
Imen
[Updated on: Wed, 16 March 2011 10:24] by Moderator