[whatwg] Spellchecking mark III

Robert O'Callahan robert at ocallahan.org
Wed Dec 31 19:48:29 PST 2008


On Thu, Jan 1, 2009 at 2:04 PM, Maciej Stachowiak <mjs at apple.com> wrote:

> On Dec 31, 2008, at 12:26 PM, Robert O'Callahan wrote:
>
> A use case is editable program code, where spellchecking is disabled, but
> where spellchecking is enabled inside comments. Maybe that sounds a little
> far-fetched for today's Web applications, but some IDEs (e.g. Eclipse)
> support this so it seems like something we'd want in the future.
>
> This sounds like a pretty ill-conceived feature. It is very common for
> comments to include code, or fragments of code (such as variable names)
> mixed with natural language. (I was unable to find any evidence of
> spellchecking comments in the copy of Eclipse I downloaded, so I can't
> comment on the details.)
>

OK. It's there, though.

Furthermore, other IDEs generally don't attempt to do this, and I can't
> think of other application categories that would do something similar.
>

Seems to me that an HTML source view with spellchecking of the non-markup
text would be useful.

For what it's worth, it seemed easy to implement the general "spellcheck"
behaviour in Gecko, once we'd decided to allow any author spellcheck control
at all (you seem to have agreed that spellcheck="no" is useful). But I
really don't feel strongly one way or the other. Peter Kasting or Brett
Wilson should speak up.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090101/65a75823/attachment-0001.htm>


More information about the whatwg mailing list