CodeMirrorEditor.getMainSelection method
CodeMirrorEditor › getMainSelection
Unofficial
Get the primary selection as anchor and head positions.Signature:
getMainSelection(): EditorSelectionReturns: EditorSelection — The primary editor selection.
CodeMirrorEditor › getMainSelection
Unofficial
Get the primary selection as anchor and head positions.Signature:
getMainSelection(): EditorSelectionReturns: EditorSelection — The primary editor selection.