diff options
author | nyamatongwe <devnull@localhost> | 2000-03-31 10:48:16 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2000-03-31 10:48:16 +0000 |
commit | 044e20f602f76fab2b1326692bb67e7d3f5ee6a4 (patch) | |
tree | 24f9390973c1653f7d1e33bde398f1bc0f74fa05 /src/Editor.cxx | |
parent | 329b855a4b0a7b4c31bbe5c92070345d2c5ee343 (diff) | |
download | scintilla-mirror-044e20f602f76fab2b1326692bb67e7d3f5ee6a4.tar.gz |
Fixed line ends.
Fixed lastXChosen after Backspace or Ctrl+Backspace.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 226184db2..e06bd496d 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -1909,6 +1909,7 @@ int Editor::KeyCommand(UINT iMessage) { break; case SCI_DELETEBACK: DelCharBack(); + SetLastXChosen(); EnsureCaretVisible(); break; case SCI_TAB: @@ -1961,6 +1962,7 @@ int Editor::KeyCommand(UINT iMessage) { int startWord = pdoc->NextWordStart(currentPos, -1); pdoc->DeleteChars(startWord, currentPos - startWord); MovePositionTo(startWord); + SetLastXChosen(); } break; case SCI_DELWORDRIGHT: { |