[Libreoffice] [PATCH] Fix bug where an opening quote mark is treated as a word
m.t.johnsson at gmail.com
Thu Nov 4 05:41:11 PDT 2010
On 4 November 2010 23:38, Mattias Johnsson <m.t.johnsson at gmail.com> wrote:
> After spending a number of hours learning more about unicode than I
> ever wanted to know, I've fixed the bug where the word counter in
> Writer counts an opening quote mark (unicode symbol 0x201C) as an extra
> Turns out that the opening quote lives in unicode block 40, which was
> not given an associated script type in breakiteratorImpl.cxx. This
> means that its
> script type was defaulting to "WEAK" rather than "LATIN", and "WEAK"
> is taken as a word break.
> Thought I should get in fast and submit this before John LeMoyne
> Castle's heroic efforts fix all the word counter problems :-P
> Patch attached. It's a very minimal change, so it's probably safe to
> push into the 3.3 branch as well as master.
And this time with the patch actually attached...
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1256 bytes
Desc: not available
More information about the LibreOffice