[Webkit-unassigned] [Bug 149056] [GTK] Spellchecker rejects word when adding a period character if there is no trailing space before the next word

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 17 00:59:01 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=149056

--- Comment #10 from Adrien Plazas <aplazas at igalia.com> ---
(In reply to comment #9)
> Why isn't wordBreakIterator breaking on the punctuation already? I think
> that understanding the context of the problem is important to reviewing the
> patch.

wordBreakIterator seems to be pretty smart actually: not breaking on every punctuation mark seems to make sense in some languages as the punctuation marks can be considered part of the word itself (kind of as a word construction mechanism). Breaking such words would make them either not words or not the same words, hence not breaking the words seems to be the right thing to do.

That being said, this creates bugs when checking the spelling of sentences with a poor syntax (like ones with no space after a period or a colon), but this is a spell checking bug, not a word breaking one.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160217/e724adcd/attachment.html>


More information about the webkit-unassigned mailing list