aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2013-08-15 15:13:15 +1000
committerNeil <nyamatongwe@gmail.com>2013-08-15 15:13:15 +1000
commit2b08c6ee48f984b99165a156690dfcf4c67fea21 (patch)
tree87a806590e7d7e4a4aee9ebdaa97ab41fa022dc1 /include
parenta499680e07e1eeb55d23bbf1f61dde535d5beb78 (diff)
downloadscintilla-mirror-2b08c6ee48f984b99165a156690dfcf4c67fea21.tar.gz
Feature: [feature-requests:#1007]. Option to allow mouse selection to
switch to rectangular by pressing Alt after start of gesture. From Neomi.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h2
-rw-r--r--include/Scintilla.iface6
2 files changed, 8 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 1a685172b..5bfcfc266 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -801,6 +801,8 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_ADDUNDOACTION 2560
#define SCI_CHARPOSITIONFROMPOINT 2561
#define SCI_CHARPOSITIONFROMPOINTCLOSE 2562
+#define SCI_SETMOUSESELECTIONRECTANGULARSWITCH 2668
+#define SCI_GETMOUSESELECTIONRECTANGULARSWITCH 2669
#define SCI_SETMULTIPLESELECTION 2563
#define SCI_GETMULTIPLESELECTION 2564
#define SCI_SETADDITIONALSELECTIONTYPING 2565
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index f0b47d519..f7880a035 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -2127,6 +2127,12 @@ fun position CharPositionFromPoint=2561(int x, int y)
# Return INVALID_POSITION if not close to text.
fun position CharPositionFromPointClose=2562(int x, int y)
+# Set whether switching to rectangular mode while selecting with the mouse is allowed.
+set void SetMouseSelectionRectangularSwitch=2668(bool mouseSelectionRectangularSwitch,)
+
+# Whether switching to rectangular mode while selecting with the mouse is allowed.
+get bool GetMouseSelectionRectangularSwitch=2669(,)
+
# Set whether multiple selections can be made
set void SetMultipleSelection=2563(bool multipleSelection,)