mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix offsets
This commit is contained in:
+1
-1
@@ -140,7 +140,7 @@ public class QuickEditAction implements IntentionAction {
|
||||
final RangeMarker rangeMarker = document.createGuardedBlock(curOffset, start);
|
||||
if (curOffset == 0) rangeMarker.setGreedyToLeft(true);
|
||||
}
|
||||
curOffset = end + 1;
|
||||
curOffset = end;
|
||||
}
|
||||
if (curOffset < text.length()) {
|
||||
document.createGuardedBlock(curOffset, text.length()).setGreedyToRight(true);
|
||||
|
||||
Reference in New Issue
Block a user