diff options
| author | nyamatongwe <unknown> | 2008-06-15 12:28:37 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2008-06-15 12:28:37 +0000 | 
| commit | 557b0db0af449cbbd9d9c27862acf5a5f0af9741 (patch) | |
| tree | 2666dc6658041e277638bad8f3fda16a6729490d | |
| parent | e4158acc3b6d1078393f8c5b0da16134b237e42e (diff) | |
| download | scintilla-mirror-557b0db0af449cbbd9d9c27862acf5a5f0af9741.tar.gz | |
Bug #1989278. Right mouse button down moves caret.
| -rw-r--r-- | win32/ScintillaWin.cxx | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index fda84759d..e55892b62 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -728,6 +728,11 @@ sptr_t ScintillaWin::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam  			(wParam & MK_CONTROL) != 0);  		break; +	case WM_RBUTTONDOWN: +		if (!PointInSelection(Point::FromLong(lParam))) +			SetEmptySelection(PositionFromLocation(Point::FromLong(lParam))); +		break; +  	case WM_SETCURSOR:  		if (LoWord(lParam) == HTCLIENT) {  			if (inDragDrop == ddDragging) { | 
