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. --- doc/ScintillaDoc.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 50a7ed477..36e04f239 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -1112,6 +1112,8 @@ struct Sci_TextToFind { SCI_TEXTWIDTH(int styleNumber, const char *text)
SCI_TEXTHEIGHT(int line)
SCI_CHOOSECARETX
+ SCI_MOVESELECTEDLINESUP
+ SCI_MOVESELECTEDLINESDOWN

SCI_GETTEXTLENGTH
@@ -1456,6 +1458,16 @@ struct Sci_TextToFind { user and this value is then used when moving vertically such as by using the up and down keys. This message sets the current x position of the caret as the remembered value.

+

SCI_MOVESELECTEDLINESUP
+ Move the selected lines up one line, shifting the line above after the selection. + The selection will be automatically extended to the beginning of the selection's first line and the end of the seletion's last line. + If nothing was selected, the line the cursor is currently at will be selected.

+ +

SCI_MOVESELECTEDLINESDOWN
+ Move the selected lines down one line, shifting the line below before the selection. + The selection will be automatically extended to the beginning of the selection's first line and the end of the seletion's last line. + If nothing was selected, the line the cursor is currently at will be selected.

+

Multiple Selection and Virtual Space

@@ -4337,6 +4349,12 @@ struct Sci_TextToFind { SCI_VERTICALCENTRECARET + + + SCI_MOVESELECTEDLINESUP + + SCI_MOVESELECTEDLINESDOWN + -- cgit v1.2.3