Closed Bug 340177 Opened 18 years ago Closed 18 years ago

add spell-checking to Chatzilla input-field

Categories

(Other Applications :: ChatZilla, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jo.hermans, Assigned: Gijs)

References

Details

(Whiteboard: [cz-0.9.78])

Attachments

(1 file, 1 obsolete file)

When bug 339127 is fixed, we can add spell-checking to Chatzilla's input-field. Current, only textareas have spell-checking by default.
Severity: normal → enhancement
Version: unspecified → Trunk
Note: spell-checking currently works (2.0 branch and trunk), but you'll have to enable it manually first.
*** Bug 235182 has been marked as a duplicate of this bug. ***
(In reply to comment #0)
> When bug 339127 is fixed, we can add spell-checking to Chatzilla's input-field.
> Current, only textareas have spell-checking by default.

Bug 339127 is now fixed, so hopefully this will now be doable.
Unfortunately not; they've removed the spellchecking ability from chrome textboxes *entirely* (see bug 336799).
Depends on: 346787
I too would like to see this feature adapted for ChatZilla. Before Firefox 2 was released I was using <a href=http://forums.mozillazine.org/viewtopic.php?t=351130>SpellBound Development version</a> and it was spell checking the ChatZilla field. 
Here's my guess at a patch. I've really not much idea, but I'm excited about this bug :)

Soo... if this gets checked in and people are using Minefield trunk with Chatzilla trunk, it should "just work" I'm guessing. 

If bug 346787 gets into 1.8.1.1 then Fx 2.0.0.1 will be a goer.

However, installing dictionaries into Chatzilla on XULRunner is going to require install.rdf hacking. We can probably get word out to the l10n teams which own the dictionaries to add Chatzilla to their install.rdf.. but what should they specify as min and maxversion? Hrm, this is why it'd be cool to be able to edit the compatibility for all the dictionaries on AMO at once.

I've no idea how SeaMonkey handles its dictionaries.
Attachment #246134 - Flags: review?(rginda)
Does the spellchecker remember (over restarts) if you turn it off for the input box?
It doesn't seem to save such things for me, at least not for input boxes in html pages. But maybe some of the spellcheck people can give a more conclusive answer?
OK, so on my own build from 2006-11-21, it totally forgets whether I disabled spellcheck on a field. This is really annoying. So personally, I think we need a pref.

Attached patch PatchSplinter Review
Patch with a pref and localization and update the box without restarting and... stuff. It works. Yay.
Assignee: rginda → gijskruitbosch+bugs
Attachment #246134 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #249310 - Flags: review?(rginda)
Attachment #246134 - Flags: review?(rginda)
Comment on attachment 249310 [details] [diff] [review]
Patch

r=rginda
Attachment #249310 - Flags: review?(rginda) → review+
Checking in mozilla/extensions/irc/xul/content/prefs.js;
/cvsroot/mozilla/extensions/irc/xul/content/prefs.js,v  <--  prefs.js
new revision: 1.42; previous revision: 1.41
done
Checking in mozilla/extensions/irc/xul/content/static.js;
/cvsroot/mozilla/extensions/irc/xul/content/static.js,v  <--  static.js
new revision: 1.226; previous revision: 1.225
done
Checking in mozilla/extensions/irc/xul/locale/en-US/chatzilla.properties;
/cvsroot/mozilla/extensions/irc/xul/locale/en-US/chatzilla.properties,v  <--  chatzilla.properties
new revision: 1.130; previous revision: 1.129
done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Whiteboard: [cz-0.9.78]
verified in chatzilla 0.9.78.1
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: