I'd like to be able to keep various Notes etc in an external tool, but for now the API does not provide quite enough hooks.
Please can we have a new Event that fires when a user adds a marker to a resource?
Maybe fire on adding a custom Highlighter, or after every Highlighter. In my example below, I have created a Highlight code called "Notes" and added it to the text. If that fired the event, I could obtain the resource and range from the Panel, and save this in my external tool.
Something like:
MarkerAdded(Panel : Object, MarkerName : String) Raised when a panel is activated.
Panel is a
Panel object, MarkerName holds the name of the applied Highlight.
I'd like to be able to do something like:
IF MarkerName = "Notes" THEN
do something with the resource and start refs
END IF
