Sfoglia il codice sorgente

Make getWordBoundary return BufferRangeLine

xuty 3 anni fa
parent
commit
75db808bb1
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      lib/src/core/buffer/buffer.dart

+ 1 - 1
lib/src/core/buffer/buffer.dart

@@ -466,7 +466,7 @@ class Buffer {
     r'\'.codeUnitAt(0),
   };
 
-  BufferRange? getWordBoundary(CellOffset position) {
+  BufferRangeLine? getWordBoundary(CellOffset position) {
     if (position.y >= lines.length) {
       return null;
     }