MCPcopy Create free account
hub / github.com/SplootCode/splootcode / isCursor

Method isCursor

packages/editor/src/context/selection.ts:110–112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

108 }
109
110 isCursor() {
111 return this.state === SelectionState.Cursor || this.state === SelectionState.Inserting
112 }
113
114 isSingleNode() {
115 return this.state === SelectionState.Editing || this.state === SelectionState.SingleNode

Callers 6

getCurrentNodeCursorsMethod · 0.95
getCursorXYPositionMethod · 0.95
insertFragmentMethod · 0.95
renderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected