aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-05-21 10:18:24 +1000
committernyamatongwe <unknown>2011-05-21 10:18:24 +1000
commiteb18659ff594f0f76a1f29a9e3841860fdc3a678 (patch)
treeb5a96ddc998ab5c6ff465e9ac21503b016520e58 /include
parent313dc5e904d1d73e67fc348dec331c40d585ab1f (diff)
downloadscintilla-mirror-eb18659ff594f0f76a1f29a9e3841860fdc3a678.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(,)