aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-06-14 14:30:17 +1000
committernyamatongwe <devnull@localhost>2011-06-14 14:30:17 +1000
commit0a344acd1fcde52c19ef729e2d352b4faf6230e3 (patch)
treedb881ed37e63dd115abd70293872684b7d4f64f8 /src/Editor.cxx
parente97276184dc260742cf34229395753caf12c43bb (diff)
downloadscintilla-mirror-0a344acd1fcde52c19ef729e2d352b4faf6230e3.tar.gz
Add SCI_SETEMPTYSELECTION. Feature #3314877.
From Marko Njezic.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 3f6e533b6..14d2b2673 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -7482,6 +7482,10 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {
case SCI_GETSELECTIONEND:
return sel.LimitsForRectangularElseMain().end.Position();
+ case SCI_SETEMPTYSELECTION:
+ SetEmptySelection(wParam);
+ break;
+
case SCI_SETPRINTMAGNIFICATION:
printMagnification = wParam;
break;