Community
Participate
Working Groups
Build ID: ALL Steps To Reproduce: 1. Create Text widget and add selection listener to it. 2. Select some range from Java code, or 3. Select some range using keyboard or mouse Your selection listener is never called. More information:
Created attachment 60263 [details] Code snippet
This is behaving according to spec (see Text.addSelectionListener() javadoc). The Feature Request for the behaviour that you want is bug 4655, so marking report as a duplicate. As an alternative you can use a StyledText instead of a Text since it will fire Selection events on selection changes. *** This bug has been marked as a duplicate of bug 4655 ***