chore: consolidate model utils and drive-by cleanups (#476)
Signed-off-by: Thibault Sottiaux <tibo@openai.com>
This commit is contained in:
committed by
GitHub
parent
dc276999a9
commit
3c4f1fea9b
@@ -423,7 +423,7 @@ export default class TextBuffer {
|
||||
/** Delete the word to the *left* of the caret, mirroring common
|
||||
* Ctrl/Alt+Backspace behaviour in editors & terminals. Both the adjacent
|
||||
* whitespace *and* the word characters immediately preceding the caret are
|
||||
* removed. If the caret is already at column‑0 this becomes a no‑op. */
|
||||
* removed. If the caret is already at column‑0 this becomes a no-op. */
|
||||
deleteWordLeft(): void {
|
||||
dbg("deleteWordLeft", { beforeCursor: this.getCursor() });
|
||||
|
||||
@@ -710,7 +710,7 @@ export default class TextBuffer {
|
||||
}
|
||||
|
||||
endSelection(): void {
|
||||
// no‑op for now, kept for API symmetry
|
||||
// no-op for now, kept for API symmetry
|
||||
// we rely on anchor + current cursor to compute selection
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user