[Libreoffice-bugs] [Bug 49629] Macros: GotoEndOfWord fails when footnote at word end

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 13 16:45:32 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=49629

Caolán McNamara <caolanm at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|libreoffice-bugs at lists.free |caolanm at redhat.com
                   |desktop.org                 |

--- Comment #9 from Caolán McNamara <caolanm at redhat.com> 2012-07-13 14:45:32 UTC ---
Well, I munged all the available bug reports into test cases anyway. 

Much of the trouble here is that 0x0002 is stuffed in as a code point which can
appear in a "word" in the source/breakiterator/data/*word*.txt rules. But
0x0002 doesn't appear as a code point that is non-whitespace in the skipSpace
rules so its inconsistent.

Having 0x0002 as a code point than can appear in a word gives all sorts of odd
results in writer for word counting, character counting word skipping etc.

I'm inclined to remove the special handing of 0x0002 down in the breakiterator
rules and go back up to writer (which I presume is the only thing with the
rather mad 0x0002 usage) and handle it specifically there when necessary, e.g.
expanding it out to its display text for the purposes of character and word
counting

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Libreoffice-bugs mailing list