(In reply to comment #56)
> (In reply to comment #55)
> > Created attachment 548559 [details] [review]
> > wip
> > 
> > wip patch:
> > it deals with ehsan suggestions except for the html editor handling (ie:
> > GetActiveEditingHost method).
> > What needs to be done is call GetActiveEditingHost at the right moment
> > (editor needs to be focused otherwise, result is wrong). ehsan suggested on
> > irc to make GetActiveEditingHost a [noscript,notxpcom] method of
> > nsIHTMLEditor.
> 
> There can be more than one contenteditable element per editor. Therefore
> getting this part done looks quite tricky. Computing editor lang cannot be 
> done
> during initialization. It should be done at spell checking time. Or, as 
> volkmar
> proposed in comment #35, at focus time.

Doing that on focus makes sense to me...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to