Skip to content
This repository has been archived by the owner on Jul 16, 2022. It is now read-only.

Commit

Permalink
Fix jump to word feature
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
  • Loading branch information
miurahr committed Dec 17, 2021
1 parent 4da4020 commit 0e777e3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public void moveTo(final int index) {
return;
}
int pos1 = el.getStartOffset();
int pos2 = el.getEndOffset();
int pos2 = el.getEndOffset() - 1;
try {
Rectangle2D rect1 = modelToView2D(pos1);
Rectangle2D rect2 = modelToView2D(pos2);
Expand Down

0 comments on commit 0e777e3

Please sign in to comment.