MCPcopy Index your code
hub / github.com/SplootCode/splootcode / selectedNode

Method selectedNode

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

Source from the content-addressed store, hash-verified

928 }
929
930 selectedNode() {
931 if (!this.listBlock) {
932 return null
933 }
934 return this.listBlock.childSet.getChildren()[this.index]
935 }
936
937 increment(): NodeCursor {
938 return new NodeCursor(this.listBlock, this.index + 1)

Callers 1

copyCurrentSelectionMethod · 0.80

Calls 1

getChildrenMethod · 0.80

Tested by

no test coverage detected