MCPcopy Create free account
hub / github.com/continuedev/continue / moveLeft

Method moveLeft

extensions/cli/src/ui/TextBuffer.ts:180–182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178 }
179
180 moveLeft(): void {
181 this._cursor = Math.max(0, this._cursor - 1);
182 }
183
184 moveRight(): void {
185 this._cursor = Math.min(this._text.length, this._cursor + 1);

Callers 2

handleArrowKeysMethod · 0.95
TextBuffer.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected