aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2023-11-05 14:08:57 +1100
committerNeil <nyamatongwe@gmail.com>2023-11-05 14:08:57 +1100
commit04cc53969e0d23cf19365712ca8c6afdbc4f3822 (patch)
tree01e14e82dee06ba50f57f9bf5b523d244c7b6ca0 /src/Editor.cxx
parent7f6786c9118007d0fcf3632c585e203a66c13c35 (diff)
downloadscintilla-mirror-04cc53969e0d23cf19365712ca8c6afdbc4f3822.tar.gz
Add SCI_SETMOVEEXTENDSSELECTION to simplify selection mode manipulation.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 0b65041d2..ca7fe2e88 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -8226,6 +8226,9 @@ sptr_t Editor::WndProc(Message iMessage, uptr_t wParam, sptr_t lParam) {
default: // ?!
return static_cast<sptr_t>(SelectionMode::Stream);
}
+ case Message::SetMoveExtendsSelection:
+ sel.SetMoveExtends(wParam != 0);
+ break;
case Message::GetMoveExtendsSelection:
return sel.MoveExtends();
case Message::GetLineSelStartPosition: