I need to place controls (buttons, etc...) over top of the code in the syntax editor in addition to drawing over top of the code. I can see two ways to do this:
1. Get access to the raw canvas that the text is rendered on so I can add my controls.
2. Layer a canvas over top of the editor on which to put my controls.
The missing piece is that I need some way to track the scrollbars so that I can reposition my controls (or hide/show them) in response to the user scrolling through a document. I can't figure out an Event or override that gives me the needed information. Any suggestions??
1. Get access to the raw canvas that the text is rendered on so I can add my controls.
2. Layer a canvas over top of the editor on which to put my controls.
The missing piece is that I need some way to track the scrollbars so that I can reposition my controls (or hide/show them) in response to the user scrolling through a document. I can't figure out an Event or override that gives me the needed information. Any suggestions??