Dictionary Search View's selection listening is still a little limited [was #7529]
I've removed the TextSelectionVex from the dictionary plugin (a) to resolve a strange compilation error (Package uses conflict with net.sf.vex.toolkit) and (b) to support the XML source view (and any standard text editor). This means that
- extracting the current word must now happen in the dictionary plugin, not in some Vex code
- the selections are fired less often now.
With the first point, there seems to be the problem that WSTs Document Provider always returns null for the document. However, the API is under-documented, we need to pass in an Element ... some experiments are needed here.
For the second point, you probably have to use a [PostSelectionListener|http://help.eclipse.org/help33/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/ui/ISelectionService.html#addPostSelectionListener]