WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
Bug 65849
[Meta] Spell-checking should share the unified text checker path.
https://bugs.webkit.org/show_bug.cgi?id=65849
Summary
[Meta] Spell-checking should share the unified text checker path.
Hajime Morrita
Reported
2011-08-08 04:25:46 PDT
Editor class has two different code paths for spell-checking: One is for (A) using checkSpellingOfString() and checkGrammarOfString(), another is for (B) using checkTextOfParagraph(), the unified text checker available for Mac OS SL or later. Having this completely different code paths makes it hard to modify spellchecking code. We could eliminate "A" by providing checkTextOfParagraph() equivalent which only uses checkSpellingOfString() and checkGrammarOfString(). This emulation doesn't need to be perfect because current "A" behavior is subset of "B" anyway. Such change would hugely simplify spellchecking code.
Attachments
WIP
(34.39 KB, patch)
2011-08-08 04:33 PDT
,
Hajime Morrita
no flags
Details
Formatted Diff
Diff
Patch
(37.07 KB, patch)
2011-08-22 21:13 PDT
,
Hajime Morrita
no flags
Details
Formatted Diff
Diff
Patch
(43.01 KB, patch)
2011-08-22 22:37 PDT
,
Hajime Morrita
no flags
Details
Formatted Diff
Diff
Patch
(45.14 KB, patch)
2011-08-22 23:50 PDT
,
Hajime Morrita
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Hajime Morrita
Comment 1
2011-08-08 04:33:29 PDT
Created
attachment 103228
[details]
WIP
Early Warning System Bot
Comment 2
2011-08-08 04:43:20 PDT
Comment on
attachment 103228
[details]
WIP
Attachment 103228
[details]
did not pass qt-ews (qt): Output:
http://queues.webkit.org/results/9329784
Gyuyoung Kim
Comment 3
2011-08-08 04:44:54 PDT
Comment on
attachment 103228
[details]
WIP
Attachment 103228
[details]
did not pass efl-ews (efl): Output:
http://queues.webkit.org/results/9323976
Gustavo Noronha (kov)
Comment 4
2011-08-08 04:56:37 PDT
Comment on
attachment 103228
[details]
WIP
Attachment 103228
[details]
did not pass gtk-ews (gtk): Output:
http://queues.webkit.org/results/9325949
WebKit Review Bot
Comment 5
2011-08-08 05:03:45 PDT
Comment on
attachment 103228
[details]
WIP
Attachment 103228
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/9328806
New failing tests: editing/pasteboard/merge-end-blockquote.html editing/deleting/delete-block-contents-003.html editing/pasteboard/merge-after-delete-2.html editing/pasteboard/merge-after-delete.html editing/pasteboard/merge-end-table.html editing/spelling/spelling-backspace-between-lines.html editing/selection/5234383-1.html editing/deleting/delete-ws-fixup-002.html editing/pasteboard/merge-end-list.html editing/selection/5234383-2.html editing/inserting/insert-div-016.html editing/selection/move-backwords-by-word-001.html editing/pasteboard/merge-after-delete-1.html editing/spelling/spelling-attribute-change.html editing/inserting/insert-div-018.html editing/spelling/inline_spelling_markers.html editing/selection/13804.html editing/spelling/spelling-linebreak.html editing/spelling/spelling.html editing/deleting/delete-ws-fixup-001.html
WebKit Review Bot
Comment 6
2011-08-08 08:09:10 PDT
Comment on
attachment 103228
[details]
WIP
Attachment 103228
[details]
did not pass mac-ews (mac): Output:
http://queues.webkit.org/results/9331131
Hajime Morrita
Comment 7
2011-08-22 21:13:13 PDT
Created
attachment 104787
[details]
Patch
Gyuyoung Kim
Comment 8
2011-08-22 21:22:53 PDT
Comment on
attachment 104787
[details]
Patch
Attachment 104787
[details]
did not pass efl-ews (efl): Output:
http://queues.webkit.org/results/9482033
Early Warning System Bot
Comment 9
2011-08-22 21:24:58 PDT
Comment on
attachment 104787
[details]
Patch
Attachment 104787
[details]
did not pass qt-ews (qt): Output:
http://queues.webkit.org/results/9481083
WebKit Review Bot
Comment 10
2011-08-22 21:51:38 PDT
Comment on
attachment 104787
[details]
Patch
Attachment 104787
[details]
did not pass mac-ews (mac): Output:
http://queues.webkit.org/results/9482036
Hajime Morrita
Comment 11
2011-08-22 22:37:34 PDT
Created
attachment 104789
[details]
Patch
Gyuyoung Kim
Comment 12
2011-08-22 22:47:42 PDT
Comment on
attachment 104789
[details]
Patch
Attachment 104789
[details]
did not pass efl-ews (efl): Output:
http://queues.webkit.org/results/9475235
Early Warning System Bot
Comment 13
2011-08-22 22:50:03 PDT
Comment on
attachment 104789
[details]
Patch
Attachment 104789
[details]
did not pass qt-ews (qt): Output:
http://queues.webkit.org/results/9477148
Hajime Morrita
Comment 14
2011-08-22 23:50:14 PDT
Created
attachment 104793
[details]
Patch
Hajime Morrita
Comment 15
2011-08-23 02:24:48 PDT
It's almost green and ready to review! This change looks large at a glance. But it's almost about removing the redundant code. What essentially new is TextCheckingHelper::checkTextOfParagraph().
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug