aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2000-03-31 10:48:16 +0000
committernyamatongwe <unknown>2000-03-31 10:48:16 +0000
commit15652dd121e1bb3a2a45d23883dfb7ad27aade34 (patch)
tree24f9390973c1653f7d1e33bde398f1bc0f74fa05 /src/Editor.cxx
parent5343d289cdcb5b1a9cb30c0ac6418f77c389e48c (diff)
downloadscintilla-mirror-15652dd121e1bb3a2a45d23883dfb7ad27aade34.tar.gz
Fixed line ends.
Fixed lastXChosen after Backspace or Ctrl+Backspace.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx2
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: {