MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / prevTabDist

Function prevTabDist

docs/components/editor.js:62–62  ·  view source on GitHub ↗
(col)

Source from the content-addressed store, hash-verified

60
61 // `prevIndentTabStop`, distance to the previous tab stop from `col`.
62 const prevTabDist = (col) => { const r = col % TAB_SIZE; return r === 0 ? TAB_SIZE : r; };
63
64 // Full lines covered by `sel`; excludes the trailing line if `sel.end` sits exactly past a `\n`.
65 const lineRange = (text, sel) => {

Callers 1

createEditorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected