diff options
| author | nyamatongwe <unknown> | 2010-02-08 23:39:26 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2010-02-08 23:39:26 +0000 | 
| commit | 85ac8edfa719730ace53b14606c7be36458142ef (patch) | |
| tree | 9a8d2ee9832e8476a6b63f8a0e1386d6206007c8 | |
| parent | 8a4bc847ad381efdc38b1f646d97e341373e9d24 (diff) | |
| download | scintilla-mirror-85ac8edfa719730ace53b14606c7be36458142ef.tar.gz | |
Fix for bug #2947064 SCI_SETSEL leaves multiple selections
| -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 f7c5a10fd..17ac1687a 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -6533,6 +6533,8 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {  				nEnd = pdoc->Length();  			if (nStart < 0)  				nStart = nEnd; 	// Remove selection +			InvalidateSelection(SelectionRange(nStart, nEnd)); +			sel.Clear();  			sel.selType = Selection::selStream;  			SetSelection(nEnd, nStart);  			EnsureCaretVisible(); | 
