You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the XmlSyntaxVisualizerUWP example we couldn't detect the cursor moving from a mouse click:
Cursor position doesn't update on click, only on keyboard caret move/edit.
If we can expose knowing when the user clicks in the editor, then we can just call get caret position method or something. Need to investigate this scenario more.
The text was updated successfully, but these errors were encountered:
Hmm, the scenario for the visualizer may work through the SelectedRange property like we do in the sample here, even if we don't expose the click event itself...
The Editor's GotFocus and LostFocus events also work.
Think for the original scenario for the XmlSyntaxVisualizer, we're sufficient for now, so going to move this out of v0.9-beta.
However, going to leave this here, as we probably want to implement the actual Monaco onMouseDown event as it contains a lot of context about where in the editor the user clicked.
In the XmlSyntaxVisualizerUWP example we couldn't detect the cursor moving from a mouse click:
If we can expose knowing when the user clicks in the editor, then we can just call get caret position method or something. Need to investigate this scenario more.
The text was updated successfully, but these errors were encountered: