[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Easiest way getting the text under the mouse


Hi,

I need a way of getting the editor's text under the mouse. I.e. when a
pupup is displayed, by right clicking, in an editor, I like to know what
text there is below. Carret is not on the same position when this
happens so I can't get that text.

It is somewhat same as the hover stuff.

Which class or interface has some functionality for translating
the mouse position to an offset in the text I'm editing.

/Pelle