From 9ed1465a78cc69038d8a5655e6e1dba9c4258e5b Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 21 May 2011 10:18:24 +1000 Subject: Move Selected Lines Up / Down. Feature #3304850. From Olivier Dagenais. --- include/Scintilla.h | 2 ++ include/Scintilla.iface | 6 ++++++ 2 files changed, 8 insertions(+) (limited to 'include') 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(,) -- cgit v1.2.3