diff options
-rw-r--r-- | doc/ScintillaDoc.html | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 6a4f30fe6..5a75bd12b 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -1207,10 +1207,9 @@ struct TextToFind { href="#SCI_POSITIONFROMLINE"><code>SCI_POSITIONFROMLINE(line)</code></a>.</p> <b id="SCI_GETSELTEXT">SCI_GETSELTEXT(<unused>, char *text)</b><br /> This copies the currently selected text and a terminating 0 byte to the <code>text</code> - buffer. The buffer must be at least - <code>SCI_GETSELECTIONEND()-SCI_GETSELECTIONSTART()+1</code> bytes long. <br /> - If the text argument is 0 then the length that should be allocated - to store the entire selection is returned.<br /> + buffer. The buffer size should be determined by calling with a NULL pointer for the <code>text</code> argument + <code>SCI_GETSELTEXT(0,0)</code>. + This allows for rectangular and discontiguous selections as well as simple selections.<br /> <p>See also: <code><a class="message" href="#SCI_GETCURLINE">SCI_GETCURLINE</a>, <a class="message" href="#SCI_GETLINE">SCI_GETLINE</a>, <a class="message" |