[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] GEF examples.text selection

While selecting text in the TextEditor example if you move the mouse outside 
of the editor or outside of where there is an EditPart selection does not 
continue.  For example if you begin selection on the "C" in "Copyright" (in 
the example) but move the mouse to the left and then around below the 
paragraph none of the text is selected (but one would expect that it would).

I have traced this back to SelectionRangeDragTracker's 
handleDragInProgress().  Specifically, getCurrentTextLocation().  Its 
getCurrentViewer().findObjectAt(getLocation()) is too limiting.  Rather than 
using the default "findObjectAt()" it would appear that an suped up version 
is needed that would find the object that is "closest" (where that is not 
the Euclidean distance).

Should I open an RFE for this?

--
Rob Grzywinski