I am having a hard time figuring this out. I want to right-click an XML key, and pop a window with the attributes and text parameters. For example, I have a tag:
- <paragraph color="red">Test</paragraph>
- string varname = editor.Document.GetSubstring(tok.TextRange);