- fixed <rdar://problem/
4049776> Seed: Mail: Disable spellcheck leaves red artifacts
* WebView.subproj/WebFrameInternal.h: Added _unmarkAllMisspellings.
* WebView.subproj/WebFrame.m: (-[WebFrame _unmarkAllMisspellings]): Added.
Calls unmarkAllMisspellings on the bridge and self and all subframes.
* WebView.subproj/WebView.m: (-[WebView setContinuousSpellCheckingEnabled:]):
Call _unmarkAllMisspellings on the main frame when turning continuous spell checking off.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8889
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2005-03-14 Darin Adler <darin@apple.com>
+
+ Reviewed by Harrison.
+
+ - fixed <rdar://problem/4049776> Seed: Mail: Disable spellcheck leaves red artifacts
+
+ * WebView.subproj/WebFrameInternal.h: Added _unmarkAllMisspellings.
+ * WebView.subproj/WebFrame.m: (-[WebFrame _unmarkAllMisspellings]): Added.
+ Calls unmarkAllMisspellings on the bridge and self and all subframes.
+
+ * WebView.subproj/WebView.m: (-[WebView setContinuousSpellCheckingEnabled:]):
+ Call _unmarkAllMisspellings on the main frame when turning continuous spell checking off.
+
2005-03-14 Richard Williamson <rjw@apple.com>
Fixed <rdar://problem/4027928> Tiger_8A394:Acrobat crashes while tried to remove the subscription errors by clicking on "Would you like to remove the subscription" from Tracker details view pane
=== Safari-401 ===
->>>>>>> 1.3057
2005-03-01 John Sullivan <sullivan@apple.com>
Reviewed by Darin.
[request release];
}
+- (void)_unmarkAllMisspellings
+{
+ [[self _bridge] unmarkAllMisspellings];
+ [_private->children makeObjectsPerformSelector:@selector(_unmarkAllMisspellings)];
+}
+
@end
@implementation WebFormState : NSObject
- (void)_setInternalLoadDelegate:(id)internalLoadDelegate;
- (id)_internalLoadDelegate;
- (void)_sendResourceLoadDelegateMessagesForURL:(NSURL *)URL response:(NSURLResponse *)response length:(unsigned)length;
+- (void)_unmarkAllMisspellings;
@end
if ([self isContinuousSpellCheckingEnabled]) {
[self _preflightSpellChecker];
} else {
- // FIXME: Put code here to remove underlines for misspelled words.
+ [[self mainFrame] _unmarkAllMisspellings];
}
}