diff options
| author | Neil <nyamatongwe@gmail.com> | 2025-12-08 14:38:07 +1100 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2025-12-08 14:38:07 +1100 |
| commit | 724429a7c661eeafe3094a049f747267d0496a69 (patch) | |
| tree | 5e61c00fe32ca0860f0f24446a1421622c13e6a7 /src/Editor.cxx | |
| parent | 3b9c68ac4239f07d7a9117010778987e5b98502c (diff) | |
| download | scintilla-mirror-724429a7c661eeafe3094a049f747267d0496a69.tar.gz | |
Bug [#2488]. Fix SCI_SETSELECTIONNSTART and SCI_SETSELECTIONNEND.
Diffstat (limited to 'src/Editor.cxx')
| -rw-r--r-- | src/Editor.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index e7a309e67..1ad99c3ca 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -6178,11 +6178,11 @@ void Editor::SetSelectionNMessage(Message iMessage, uptr_t wParam, sptr_t lParam break; case Message::SetSelectionNStart: - sel.Range(wParam).anchor.SetPosition(lParam); + sel.Range(wParam).StartSet(SelectionPosition(lParam)); break; case Message::SetSelectionNEnd: - sel.Range(wParam).caret.SetPosition(lParam); + sel.Range(wParam).EndSet(SelectionPosition(lParam)); break; default: |
