provide access to caret position, current node/element and document

Signed-off-by: Florian Thienel <florian@thienel.org>
2 files changed