Fix some tests

This commit is contained in:
Daniel Imms
2018-12-28 11:02:08 -08:00
parent 7684f93773
commit 358898daf9
3 changed files with 8 additions and 49 deletions
+2 -1
View File
@@ -440,9 +440,10 @@ export class Buffer implements IBuffer {
}
lineIndex++;
}
return [lineIndex, 0];
}
/** // TODO: Handle list trimming
/**
* Translates a buffer line to a string, with optional start and end columns.
* Wide characters will count as two columns in the resulting string. This
* function is useful for getting the actual text underneath the raw selection