Explorar o código

Make getWordBoundary return BufferRangeLine

xuty %!s(int64=3) %!d(string=hai) anos
pai
achega
75db808bb1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
     }