diff options
author | nyamatongwe <devnull@localhost> | 2008-01-19 04:19:36 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2008-01-19 04:19:36 +0000 |
commit | 4663b7ffe215ea47902a467e26f4e6b40435f58d (patch) | |
tree | fd44fd40feef2aa1412b06a3832af8212ba6f252 /doc/ScintillaDoc.html | |
parent | 541f13e28956050f2111c873dc7afeeaed981ef9 (diff) | |
download | scintilla-mirror-4663b7ffe215ea47902a467e26f4e6b40435f58d.tar.gz |
CopyAllowLine from 280Z28 / Sam Harwell that reproduces Visual Studio's
behaviour when performing copy on an empty selection copies the current
line.
Diffstat (limited to 'doc/ScintillaDoc.html')
-rw-r--r-- | doc/ScintillaDoc.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 8361977cf..02553bda6 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -822,6 +822,7 @@ struct TextToFind { <a class="message" href="#SCI_COPYRANGE">SCI_COPYRANGE(int start, int end)</a><br /> <a class="message" href="#SCI_COPYTEXT">SCI_COPYTEXT(int length, const char *text)</a><br /> + <a class="message" href="#SCI_COPYALLOWLINE">SCI_COPYALLOWLINE</a><br /> <a class="message" href="#SCI_SETPASTECONVERTENDINGS">SCI_SETPASTECONVERTENDINGS(bool convert)</a><br /> <a class="message" href="#SCI_GETPASTECONVERTENDINGS">SCI_GETPASTECONVERTENDINGS</a><br /> </code> @@ -831,6 +832,7 @@ struct TextToFind { <b id="SCI_PASTE">SCI_PASTE</b><br /> <b id="SCI_CLEAR">SCI_CLEAR</b><br /> <b id="SCI_CANPASTE">SCI_CANPASTE</b><br /> + <b id="SCI_COPYALLOWLINE">SCI_COPYALLOWLINE</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 @@ -845,6 +847,11 @@ struct TextToFind { the destination and source applications. Data from SCI_PASTE will not arrive in the document immediately.</p> + <p><code>SCI_COPYALLOWLINE</code> works the same as SCI_COPY except that if the + selection is empty then the current line is copied. 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(int start, int end)</b><br /> <b id="SCI_COPYTEXT">SCI_COPYTEXT(int length, const char *text)</b><br /> <p><code>SCI_COPYRANGE</code> copies a range of text from the document to |