mirror of https://github.com/adamdruppe/arsd.git
why the heck did i write it that way in the first place?
This commit is contained in:
parent
d4a962d5da
commit
06e3413ab0
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue