On 10/25/07, sander <email address hidden> wrote:
> 2007/10/25, Mats <email address hidden>:
> > * The popup menu does not work here
> >
> > Works both on my Mac and SUSE box. Note that it is not safe to assume that
> the speller gives
> > you suggestions (non popup) even if word is misspelled. You may also try
> to force load aspell
> > instead if ispell in contrib/spell.tcl:
> >
> > variable spellers [list ispell aspell]
> >
> > Just change their order.
> > Update: there seems to be problems with aspell. Under investigation.
>
> How should I see this popup menu? Right mouse click or something else?
>
RMB on misspelled word. Not all words get a suggestion from the
spellchecker and no menu.
> > * It only works in the message dialog, not in the whiteboard and chat
> > dialogs
> >
> > Forgot to check in Chat and GroupChat.
>
> And the whiteboard?
Not possible. The text item there is really limited. Perhaps when we
switch to SVG.
>
> > * Can you underline the word with a red dotted line like in Firefox
> > instead of making the word red? If you make the word red, this may
> > cause problems if the user sets the default text color to red for
> > whatever reason or when XHTML-IM is implemented.
> >
> > No because the internal limitations of the text widget :-(
>
> I know you are good at removing limitations! ;-)
>
Yes but this one is hardcoded into the Tcl/Tk core code.
> > * Is a menu entry to enable/disable spell checking really needed?
> >
> > I think so. I often happen to change language between Swedish and English
> and it can be
> > so frustrating to have it all red.
>
> I like the way how it works in Firefox:
> * RMB click in a text field opens a menu with amongst others a submenu
> called "Languages". In this submenu people can select between all
> installed spell check languages.
See spell:alldicts
Right now I want it to mature a bit before fiddling with this.
> * This menu (not the submenu) also contains an option "Check spelling
> in this field" (enabled by default)
If spelling is on (Info menu) spell checking works while typing or editing.
This was the hard part. If you already have a message/chat and
switches on spellchecking,
it will automatically check the text.
> * If this menu is opened when on a misspelled word, you see the
> suggestions in bold at the top of this menu. Just under these
> suggestions you also can select an option to add the word to the
> dictionary.
Currently only suggestions are shown.
The problem is that I have to live with both aspell and ispell and
they work differently in some aspects.
>
> > * What about remembering the language for each contact you chatted with?
> >
> > For the future.
> >
> > * What about automatically detecting the language based on messages
> > from the contact (this may need a new XEP; I'll ask stpeter)?
> >
> > xml:lang ?
>
> Yes, but then the sender has to specify the language he uses each
> time. I was thinking about that Coccinella can see which languages
> your contact understands and then asks you which language you will
> speak to him.
>
On 10/25/07, sander <email address hidden> wrote:
> 2007/10/25, Mats <email address hidden>:
> > * The popup menu does not work here
> >
> > Works both on my Mac and SUSE box. Note that it is not safe to assume that
> the speller gives
> > you suggestions (non popup) even if word is misspelled. You may also try
> to force load aspell
> > instead if ispell in contrib/spell.tcl:
> >
> > variable spellers [list ispell aspell]
> >
> > Just change their order.
> > Update: there seems to be problems with aspell. Under investigation.
>
> How should I see this popup menu? Right mouse click or something else?
>
RMB on misspelled word. Not all words get a suggestion from the
spellchecker and no menu.
> > * It only works in the message dialog, not in the whiteboard and chat
> > dialogs
> >
> > Forgot to check in Chat and GroupChat.
>
> And the whiteboard?
Not possible. The text item there is really limited. Perhaps when we
switch to SVG.
>
> > * Can you underline the word with a red dotted line like in Firefox
> > instead of making the word red? If you make the word red, this may
> > cause problems if the user sets the default text color to red for
> > whatever reason or when XHTML-IM is implemented.
> >
> > No because the internal limitations of the text widget :-(
>
> I know you are good at removing limitations! ;-)
>
Yes but this one is hardcoded into the Tcl/Tk core code.
> > * Is a menu entry to enable/disable spell checking really needed?
> >
> > I think so. I often happen to change language between Swedish and English
> and it can be
> > so frustrating to have it all red.
>
> I like the way how it works in Firefox:
> * RMB click in a text field opens a menu with amongst others a submenu
> called "Languages". In this submenu people can select between all
> installed spell check languages.
See spell:alldicts
Right now I want it to mature a bit before fiddling with this.
> * This menu (not the submenu) also contains an option "Check spelling
> in this field" (enabled by default)
If spelling is on (Info menu) spell checking works while typing or editing.
This was the hard part. If you already have a message/chat and
switches on spellchecking,
it will automatically check the text.
> * If this menu is opened when on a misspelled word, you see the
> suggestions in bold at the top of this menu. Just under these
> suggestions you also can select an option to add the word to the
> dictionary.
Currently only suggestions are shown.
The problem is that I have to live with both aspell and ispell and
they work differently in some aspects.
>
> > * What about remembering the language for each contact you chatted with?
> >
> > For the future.
> >
> > * What about automatically detecting the language based on messages
> > from the contact (this may need a new XEP; I'll ask stpeter)?
> >
> > xml:lang ?
>
> Yes, but then the sender has to specify the language he uses each
> time. I was thinking about that Coccinella can see which languages
> your contact understands and then asks you which language you will
> speak to him.
>
Mats