* Get current selection anchor * @returns {number} Anchor position
()
| 1239 | * @returns {number} Anchor position |
| 1240 | */ |
| 1241 | get anchor() { |
| 1242 | try { |
| 1243 | return editor.state.selection.main.anchor; |
| 1244 | } catch (_) { |
| 1245 | return 0; |
| 1246 | } |
| 1247 | }, |
| 1248 | |
| 1249 | /** |
| 1250 | * Get current selection range |
nothing calls this directly
no outgoing calls
no test coverage detected