Skip to content

Commit

Permalink
adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-jpq committed Nov 16, 2024
1 parent 5f8e631 commit ea473a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coq/shared/repeat.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def _shift(cursor: Cursors, edit: BaseRangeEdit) -> Tuple[WTF8Pos, WTF8Pos]:
diff = col - edit_col

if b_row == row:
if b_col > edit_col and diff < 0:
if b_col > edit_col and diff < -1:
new_b_col = b_col + diff
else:
new_b_col = b_col
Expand Down

0 comments on commit ea473a5

Please sign in to comment.