Skip to content
This repository has been archived by the owner on Jan 5, 2021. It is now read-only.

Commit

Permalink
don't reset caret position to 0 on save
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasmuelder committed Apr 11, 2018
1 parent eafbf93 commit ecdaec8
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -417,7 +417,8 @@ public void focusLost(FocusEvent e) {
this.site.setSelectionProvider(this.selectionProviderOnFocusLost);
}

text.setSelection(0);
text.setSelection(text.getCaretOffset());

}

protected void setIgnoreNextFocusLost(boolean b) {
Expand Down

0 comments on commit ecdaec8

Please sign in to comment.