Community
Participate
Working Groups
A double-click-drag (click, and then press again without releasing) doesn't work. This is typically used to swipe-select, but at the word boundary. This is what the Text control does.
As you know, the StyledText widget is not a native widget, and as such does not necessarilly have the same behavior as the native widgets do. In any case, some people find this behavior valuable; others do not. It's not immediately clear that it is the best choice for a "code oriented" editor, which was the original design goal of StyledText. So, I certainly understand why this functionality might not be available.
Decide on this later. The behavior could be provided on top of StyledText.
I disagree that just because the widget is "code-oriented" that this feature has no use. You could easily allow clients to provide a helper to tokenize the swiped text, thus handling java syntax.
Reopen
If you would like to see this behavior in Eclipse you have to move the bug to UI. Someone is turning off double click support in StyledText and implements their own (I think it's the AbstractTextEditor). So even if SWT implemented this feature in StyledText you would not benefit. That said, it seems like a useful feature. Will look into implementing it in StyledText.
Fixed in > 20020806