Prechádzať zdrojové kódy

Make getWordBoundary return BufferRangeLine

xuty 3 rokov pred
rodič
commit
75db808bb1
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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;
     }