diff options
author | nyamatongwe <unknown> | 2009-07-21 08:19:28 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2009-07-21 08:19:28 +0000 |
commit | 74fc1b126280c1f928dd8a8fb54bc174b92187b4 (patch) | |
tree | b33f67eee05d1296114dc5dc71d058723d678989 /include | |
parent | 0ea7c707827ec481e385d765ae87f0903735d70e (diff) | |
download | scintilla-mirror-74fc1b126280c1f928dd8a8fb54bc174b92187b4.tar.gz |
Added commands for rotating selections and swapping caret and anchor of
main selection.
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 5986715a5..e20935d02 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -759,6 +759,8 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_GETADDITIONALSELALPHA 2603 #define SCI_SETADDITIONALCARETFORE 2604 #define SCI_GETADDITIONALCARETFORE 2605 +#define SCI_ROTATESELECTION 2606 +#define SCI_SWAPMAINANCHORCARET 2607 #define SCI_STARTRECORD 3001 #define SCI_STOPRECORD 3002 #define SCI_SETLEXER 4001 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 5367169f2..d2682a18e 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -2031,6 +2031,12 @@ set void SetAdditionalCaretFore=2604(colour fore,) # Get the foreground colour of additional carets. get colour GetAdditionalCaretFore=2605(,) +# Set the main selection to the next selection. +fun void RotateSelection=2606(,) + +# Swap that caret and anchor of the main selection. +fun void SwapMainAnchorCaret=2607(,) + # Start notifying the container of all key presses and commands. fun void StartRecord=3001(,) |