I am creating a custom XML editor (TextEditor) in Eclipse and am implementing IContentAssistProcessor. In the computeContextInformation, how do I compute the xpath of the current location of my cursor?
Asked
Active
Viewed 127 times
0
-
What is your editor based on - TextEditor, XText, the WST XML editor? – greg-449 Jun 23 '17 at 11:31
-
It is a TextEditor – user3418847 Jun 23 '17 at 17:16
-
Possible duplicate of [How do I get the XML Dom node of where my cursor is in Eclipse?](https://stackoverflow.com/questions/44742478/how-do-i-get-the-xml-dom-node-of-where-my-cursor-is-in-eclipse) – Elena Larina Jun 25 '17 at 15:57