[Bug 303269]
Arnaud Renevier
303269 at bugs.launchpad.net
Thu Jul 28 21:37:33 UTC 2011
Created attachment 549230
patch v2.2
(In reply to comment #67)
> (In reply to comment #66)
> > > Can you add another test here for the dynamic change case? You can put
> > > lang="en-US" on the textarea, then upon load change it to "testing-XX", then
> > > .focus() and .blur().
> >
> > Actually, this does not work. Calling SetCurrentDictionary to an invalid
> > language, does nothing. So an invalid language at startup (or first focus) does
> > not initialize spellchecker. But an invalid language after spellchecker has
> > been initialized to a language does not reset it.
>
> Hmm, well, nevermind those tests then, I guess. :(
A possibility is to make SetCurrentDictionary handle empty string by
disabling spell check. Then, calling SetCurrentDictionary with empty
string at start of UpdateCurrentDirectionary. Can you review this ?
--
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/303269
Title:
Automatically select language for spell check based on user input
To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/303269/+subscriptions
More information about the Ubuntu-mozillateam-bugs
mailing list