diff options
author | Bruno Haible <bruno@clisp.org> | 2021-12-29 20:01:09 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2021-12-29 20:01:34 +0100 |
commit | b1936b2a75e6ce4f85642836abb71c14800516be (patch) | |
tree | 3d20f520e79e214febe4bdbe50c99da94bef5a25 /NEWS | |
parent | 729c31ed79c77b2e670b45fa383a0509eaba66d8 (diff) | |
download | libunistring-b1936b2a75e6ce4f85642836abb71c14800516be.tar.gz |
doc: Update for new behaviour of line breaking functions.
* doc/unilbrk.texi (unilbrk.h): Document UC_BREAK_CR_BEFORE_LF. Mention
that this value can occur in the array returned by
u*_possible_linebreaks and u*_width_linebreaks.
* NEWS: Mention the change.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2,6 +2,10 @@ New in 0.9.11: * The license has changed from "LGPLv3+ or GPLv2" to "LGPLv3+ or GPLv2+". * The functions u8_uctomb, u16_uctomb, u32_uctomb now support strings larger than 2 GiB by taking an 'n' argument of type ptrdiff_t (instead of int). +* The functions u*_possible_linebreaks and u*_width_linebreaks now make it + easier to work with strings that contain CR-LF sequences: In this case, + in the returned array, it will return UC_BREAK_CR_BEFORE_LF followed by + UC_BREAK_MANDATORY (instead of twice UC_BREAK_MANDATORY). * Fixed multithread-safety bugs on Cygwin, native Windows, and Haiku. New in 0.9.10: |