aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-05-21 10:18:24 +1000
committernyamatongwe <devnull@localhost>2011-05-21 10:18:24 +1000
commit9ed1465a78cc69038d8a5655e6e1dba9c4258e5b (patch)
tree54b0eaa941abfd1540faab5db91980548c0f12f0 /include
parentea7aa404479ca0981b5f55b8863858585b61b603 (diff)
downloadscintilla-mirror-9ed1465a78cc69038d8a5655e6e1dba9c4258e5b.tar.gz
Move Selected Lines Up / Down. Feature #3304850.
From Olivier Dagenais.
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 c0ed9545e..f1c4fa99f 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -799,6 +799,8 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_CHANGELEXERSTATE 2617
#define SCI_CONTRACTEDFOLDNEXT 2618
#define SCI_VERTICALCENTRECARET 2619
+#define SCI_MOVESELECTEDLINESUP 2620
+#define SCI_MOVESELECTEDLINESDOWN 2621
#define SCI_STARTRECORD 3001
#define SCI_STOPRECORD 3002
#define SCI_SETLEXER 4001
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 2cd7eba1d..8cd3ab5d0 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -2125,6 +2125,12 @@ fun int ContractedFoldNext=2618(int lineStart,)
# Centre current line in window.
fun void VerticalCentreCaret=2619(,)
+# Move the selected lines up one line, shifting the line above after the selection
+fun void MoveSelectedLinesUp=2620(,)
+
+# Move the selected lines down one line, shifting the line below before the selection
+fun void MoveSelectedLinesDown=2621(,)
+
# Start notifying the container of all key presses and commands.
fun void StartRecord=3001(,)