diff options
author | Neil <nyamatongwe@gmail.com> | 2021-11-12 09:18:20 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-11-12 09:18:20 +1100 |
commit | 516dd7b28b8b14ad26824a89dd3ba4fffd04cabe (patch) | |
tree | d417164b74f20d79bc44f452fe5d489ca29b35a0 /doc/ScintillaHistory.html | |
parent | 5447b25f7b8092173876adc1d5680d73b00145a6 (diff) | |
download | scintilla-mirror-516dd7b28b8b14ad26824a89dd3ba4fffd04cabe.tar.gz |
Change SCI_GETTEXT, SCI_GETSELTEXT, and SCI_GETCURLINE to be more consistent
with other APIs with respect to buffer lengths.
Diffstat (limited to 'doc/ScintillaHistory.html')
-rw-r--r-- | doc/ScintillaHistory.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index fffc70be0..c0d9f4e6b 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -568,6 +568,23 @@ </table> <h2>Releases</h2> <h3> + <a href="https://www.scintilla.org/scintilla515.zip">Release 5.1.5</a> + </h3> + <ul> + <li> + Released 8 November 2021. + </li> + <li> + When calling SCI_GETTEXT, SCI_GETSELTEXT, and SCI_GETCURLINE with a NULL buffer argument + to discover the length that should be allocated, do not include the terminating NUL in the returned value. + The value returned is 1 less than previous versions of Scintilla. + Applications should allocate a buffer 1 more than this to accommodate the NUL. + The wParam (length) argument to SCI_GETTEXT and SCI_GETCURLINE also omits the NUL. + This is more consistent with other APIs. + </li> + <ul> + <h2>Releases</h2> + <h3> <a href="https://www.scintilla.org/scintilla514.zip">Release 5.1.4</a> </h3> <ul> |