Changeset 45075 in webkit
- Timestamp:
- Jun 24, 2009 1:12:12 AM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r45070 r45075 1 2009-06-24 Siddhartha Chattopadhyay <sidchat@google.com> 2 3 Reviewed by Eric Seidel. 4 5 Fix for https://bugs.webkit.org/show_bug.cgi?id=26200 which I introduced earlier. I had 6 the smartReplace set TRUE initially, which was wrong since the purpose of this call is 7 to just replace the selection, and place the caret at the end of the selection it replaced. 8 9 * editing/Editor.cpp: 10 (WebCore::Editor::markMisspellingsAfterTypingToPosition): 11 * manual-tests/textarea-caret-position-after-auto-spell-correct.html: Added. 12 1 13 2009-06-24 Kevin Watters <kevinwatters@gmail.com> 2 14 -
trunk/WebCore/editing/Editor.cpp
r44750 r45075 2207 2207 if (!frame()->editor()->shouldInsertText(autocorrectedString, misspellingRange.get(), EditorInsertActionTyped)) 2208 2208 return; 2209 frame()->editor()->replaceSelectionWithText(autocorrectedString, false, true);2209 frame()->editor()->replaceSelectionWithText(autocorrectedString, false, false); 2210 2210 2211 2211 // Reset the charet one character further.
Note: See TracChangeset
for help on using the changeset viewer.