NEW 89076
[Mac, WK2] A grammar marker flickers while typing
https://bugs.webkit.org/show_bug.cgi?id=89076
Summary [Mac, WK2] A grammar marker flickers while typing
Hironori Bono
Reported 2012-06-14 01:46:45 PDT
Greetings, Even though I thought this was a regression of my r117470 <http://trac.webkit.org/changeset/117470> for the first time, it seem to happen before my change (at least on Safari 5.1.3 on OS X Lion and WebKit nightly r112532). Steps to reproduce: 1. Enable the "Check grammar while spelling" item from a manu bar "Edit" -> "Spelling and Grammar". 2. Type "You has ". (Safari adds a green underline below of the word "has".) 3. Type "th". Expected Results: Safari keeps the green underline below of the word "has". Actual Results: Safari removes the green underline. It seems when we type "th", Editor::respondToChangedSelection() removed the grammar marker. Even though my r117470 did not prevent Editor::respondToChangedSelection() from removing grammar markers (*1), is it better to prevent the function from deleting grammar markers? (I do not have background of the original function and I'm not sure that I can change this behavior.) (*1) http://code.google.com/searchframe#OAMlx_jo-ck/src/third_party/WebKit/Source/WebKit2/WebProcess/WebCoreSupport/WebEditorClient.cpp&l=379 Regards, Hironori Bono
Attachments
Note You need to log in before you can comment on or make changes to this bug.