Skip to content

Commit 141cfbc

Browse files
committed
reverted unintended reformatting
1 parent 15c5096 commit 141cfbc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

super_editor/lib/src/default_editor/common_editor_operations.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,7 @@ class CommonEditorOperations {
100100
}) {
101101
DocumentPosition? position;
102102
if (findNearestPosition) {
103-
position = documentLayoutResolver()
104-
.getDocumentPositionNearestToOffset(documentOffset);
103+
position = documentLayoutResolver().getDocumentPositionNearestToOffset(documentOffset);
105104
} else {
106105
position = documentLayoutResolver().getDocumentPositionAtOffset(documentOffset);
107106
}

0 commit comments

Comments
 (0)