diff options
author | Neil <nyamatongwe@gmail.com> | 2013-08-15 15:13:15 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2013-08-15 15:13:15 +1000 |
commit | d396f66bf0bc8d4c777c744efe77ccb5b28b385f (patch) | |
tree | 9dc0a355f751c37c953e835ac04a5dee383d6f51 /include | |
parent | c68e1a5ffc74569e4d406e3c904f010390577fcf (diff) | |
download | scintilla-mirror-d396f66bf0bc8d4c777c744efe77ccb5b28b385f.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.h | 2 | ||||
-rw-r--r-- | include/Scintilla.iface | 6 |
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,) |