diff options
author | nyamatongwe <unknown> | 2009-07-14 03:28:22 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2009-07-14 03:28:22 +0000 |
commit | 03cca7be7b6f7e1a2899c01bf50a7a61f9be1a21 (patch) | |
tree | 084abdf19b98d1571d40853b503bd05b723c243e /include | |
parent | 1231cf6c2eecdf6fdaba67c13d82a7cfb251ccbb (diff) | |
download | scintilla-mirror-03cca7be7b6f7e1a2899c01bf50a7a61f9be1a21.tar.gz |
Added controls for enabling multiple selection and multiple selection
typing. Renamed multiline options to reflect use on multiple selections.
Using std::vector for selections.
Diffstat (limited to 'include')
-rw-r--r-- | include/Scintilla.h | 10 | ||||
-rw-r--r-- | include/Scintilla.iface | 22 |
2 files changed, 20 insertions, 12 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index 877caa712..5986715a5 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -714,10 +714,12 @@ 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_SETMULTILINECARET 2563 -#define SCI_GETMULTILINECARET 2564 -#define SCI_SETMULTILINECARETBLINKS 2565 -#define SCI_GETMULTILINECARETBLINKS 2566 +#define SCI_SETMULTIPLESELECTION 2563 +#define SCI_GETMULTIPLESELECTION 2564 +#define SCI_SETADDITIONALSELECTIONTYPING 2565 +#define SCI_GETADDITIONALSELECTIONTYPING 2566 +#define SCI_SETADDITIONALCARETSBLINK 2567 +#define SCI_GETADDITIONALCARETSBLINK 2568 #define SCI_GETSELECTIONS 2570 #define SCI_CLEARSELECTIONS 2571 #define SCI_SETSELECTION 2572 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index d17de8018..a4b16beea 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1927,17 +1927,23 @@ 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 the caret will show on multiple lines for a rectangular selection -set void SetMultiLineCaret=2563(bool multiLine,) +# Set whether multiple selections can be made +set void SetMultipleSelection=2563(bool multipleSelection,) -# Whether the caret will show on multiple lines for a rectangular selection -get bool GetMultiLineCaret=2564(,) +# Whether multiple selections can be made +get bool GetMultipleSelection=2564(,) -# Set whether the multiline caret will blink -set void SetMultiLineCaretBlinks=2565(bool multiLineBlinks,) +# Set whether typing can be performed into multiple selections +set void SetAdditionalSelectionTyping=2565(bool additionalSelectionTyping,) -# Whether the multiline caret will blink -get bool GetMultiLineCaretBlinks=2566(,) +# Whether typing can be performed into multiple selections +get bool GetAdditionalSelectionTyping=2566(,) + +# Set whether additional carets will blink +set void SetAdditionalCaretsBlink=2567(bool additionalCaretsBlink,) + +# Whether additional carets will blink +get bool GetAdditionalCaretsBlink=2568(,) # How many selections are there? get int GetSelections=2570(,) |