why the heck did i write it that way in the first place?

This commit is contained in:
Adam D. Ruppe 2020-02-18 10:05:21 -05:00
parent d4a962d5da
commit 06e3413ab0
1 changed files with 4 additions and 2 deletions

View File

@ -3949,8 +3949,10 @@ class LineGetter {
/// ///
void deleteToEndOfLine() { void deleteToEndOfLine() {
while(cursorPosition < line.length) line = line[0 .. cursorPosition];
deleteChar(); line.assumeSafeAppend();
//while(cursorPosition < line.length)
//deleteChar();
} }
int availableLineLength() { int availableLineLength() {