aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
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 /doc
parentea7aa404479ca0981b5f55b8863858585b61b603 (diff)
downloadscintilla-mirror-9ed1465a78cc69038d8a5655e6e1dba9c4258e5b.tar.gz
Move Selected Lines Up / Down. Feature #3304850.
From Olivier Dagenais.
Diffstat (limited to 'doc')
-rw-r--r--doc/ScintillaDoc.html18
1 files changed, 18 insertions, 0 deletions
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 {
<a class="message" href="#SCI_TEXTWIDTH">SCI_TEXTWIDTH(int styleNumber, const char *text)</a><br />
<a class="message" href="#SCI_TEXTHEIGHT">SCI_TEXTHEIGHT(int line)</a><br />
<a class="message" href="#SCI_CHOOSECARETX">SCI_CHOOSECARETX</a><br />
+ <a class="message" href="#SCI_MOVESELECTEDLINESUP">SCI_MOVESELECTEDLINESUP</a><br />
+ <a class="message" href="#SCI_MOVESELECTEDLINESDOWN">SCI_MOVESELECTEDLINESDOWN</a><br />
</code>
<p><b id="SCI_GETTEXTLENGTH">SCI_GETTEXTLENGTH</b><br />
@@ -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.</p>
+ <p><b id="SCI_MOVESELECTEDLINESUP">SCI_MOVESELECTEDLINESUP</b><br />
+ 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.</p>
+
+ <p><b id="SCI_MOVESELECTEDLINESDOWN">SCI_MOVESELECTEDLINESDOWN</b><br />
+ 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.</p>
+
<h2 id="MultipleSelectionAndVirtualSpace">Multiple Selection and Virtual Space</h2>
<code>
@@ -4337,6 +4349,12 @@ struct Sci_TextToFind {
<td><code>SCI_VERTICALCENTRECARET</code></td>
</tr>
+
+ <tr>
+ <td><code>SCI_MOVESELECTEDLINESUP</code></td>
+
+ <td><code>SCI_MOVESELECTEDLINESDOWN</code></td>
+ </tr>
</tbody>
</table>