aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorMartijn Laan <1092369+martijnlaan@users.noreply.github.com>2024-06-20 08:23:46 +1000
committerMartijn Laan <1092369+martijnlaan@users.noreply.github.com>2024-06-20 08:23:46 +1000
commit4040c66fc31c7e537d063c65ed1e734e974250c2 (patch)
treea19d212bcf90ba998d282f047741bc214598c64e /doc
parenteee34c2c5053450ec48aea8a9cbff4d5dd140b55 (diff)
downloadscintilla-mirror-4040c66fc31c7e537d063c65ed1e734e974250c2.tar.gz
Feature [feature-requests:#1518]. Cherry pick SCI_CUTALLOWLINE from isscint.
Diffstat (limited to 'doc')
-rw-r--r--doc/ScintillaDoc.html7
-rw-r--r--doc/ScintillaHistory.html5
2 files changed, 12 insertions, 0 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index 5417fa8dd..ed8db883d 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -1852,6 +1852,7 @@ struct Sci_TextToFindFull {
<a class="message" href="#SCI_COPYRANGE">SCI_COPYRANGE(position start, position end)</a><br />
<a class="message" href="#SCI_COPYTEXT">SCI_COPYTEXT(position length, const char *text)</a><br />
<a class="message" href="#SCI_COPYALLOWLINE">SCI_COPYALLOWLINE</a><br />
+ <a class="message" href="#SCI_CUTALLOWLINE">SCI_CUTALLOWLINE</a><br />
<a class="message" href="#SCI_SETPASTECONVERTENDINGS">SCI_SETPASTECONVERTENDINGS(bool convert)</a><br />
<a class="message" href="#SCI_GETPASTECONVERTENDINGS">SCI_GETPASTECONVERTENDINGS &rarr; bool</a><br />
<a class="message" href="#SCI_REPLACERECTANGULAR">SCI_REPLACERECTANGULAR(position length, const char *text)</a><br />
@@ -1863,6 +1864,7 @@ struct Sci_TextToFindFull {
<b id="SCI_CLEAR">SCI_CLEAR</b><br />
<b id="SCI_CANPASTE">SCI_CANPASTE &rarr; bool</b><br />
<b id="SCI_COPYALLOWLINE">SCI_COPYALLOWLINE</b><br />
+ <b id="SCI_CUTALLOWLINE">SCI_CUTALLOWLINE</b><br />
These commands perform the standard tasks of cutting and copying data to the clipboard,
pasting from the clipboard into the document, and clearing the document.
<code>SCI_CANPASTE</code> returns non-zero if the document isn't read-only and if the selection
@@ -1882,6 +1884,11 @@ struct Sci_TextToFindFull {
is added to the clipboard which is then used in <code>SCI_PASTE</code> to paste
the whole line before the current line.</p>
+ <p><code>SCI_CUTALLOWLINE</code> works the same as SCI_CUT except that if the
+ selection is empty then the current line is cut. On Windows, an extra "MSDEVLineSelect" marker
+ is added to the clipboard which is then used in <code>SCI_PASTE</code> to paste
+ the whole line before the current line.</p>
+
<b id="SCI_COPYRANGE">SCI_COPYRANGE(position start, position end)</b><br />
<b id="SCI_COPYTEXT">SCI_COPYTEXT(position length, const char *text)</b><br />
<p><code>SCI_COPYRANGE</code> copies a range of text from the document to
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index 3bf4c94fb..4b0358ed4 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -580,6 +580,7 @@
<td>Chengzhi Li</td>
<td>Gary James</td>
<td>Tsuyoshi Miyake</td>
+ <td>Martijn Laan</td>
</tr>
</table>
<h2>Releases</h2>
@@ -591,6 +592,10 @@
Released 23 April 2024.
</li>
<li>
+ SCI_CUTALLOWLINE added which is similar to SCI_COPYALLOWLINE but also deletes the copied text.
+ <a href="https://sourceforge.net/p/scintilla/feature-requests/1518/">Feature #1518</a>.
+ </li>
+ <li>
Increase maximum zoom set interactively to +60 points.
<a href="https://sourceforge.net/p/scintilla/feature-requests/1517/">Feature #1517</a>.
</li>