We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15c5096 commit 141cfbcCopy full SHA for 141cfbc
super_editor/lib/src/default_editor/common_editor_operations.dart
@@ -100,8 +100,7 @@ class CommonEditorOperations {
100
}) {
101
DocumentPosition? position;
102
if (findNearestPosition) {
103
- position = documentLayoutResolver()
104
- .getDocumentPositionNearestToOffset(documentOffset);
+ position = documentLayoutResolver().getDocumentPositionNearestToOffset(documentOffset);
105
} else {
106
position = documentLayoutResolver().getDocumentPositionAtOffset(documentOffset);
107
}
0 commit comments