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 /src/Selection.cxx | |
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 'src/Selection.cxx')
-rw-r--r-- | src/Selection.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Selection.cxx b/src/Selection.cxx index 1ea5f1bbe..246cfe709 100644 --- a/src/Selection.cxx +++ b/src/Selection.cxx @@ -328,3 +328,7 @@ void Selection::RemoveDuplicates() { } } +void Selection::RotateMain() { + mainRange = (mainRange + 1) % ranges.size(); +} + |