Version: 2.2.1 (using KDE 3.2.1, SuSE) Compiler: gcc version 3.3.3 (SuSE Linux) OS: Linux (i686) release 2.6.4-54.5-default Hi all Well, I didn't call it a bug, for there is nothing going wrong, but it is a bug as I cannot use the spellchecker as intended: May be if you use english spellchecking, this is not a big problem, as most program code is in english, but if I have to "ignore" the HTML-Head, all Stylesheets, Javascript code and so on, I realy don't want to use this "feature". So far, I don't think it would be a big problem, to simply ignore everything between < and > (do ignore comments between <!-- and --> could be an option). Another Option could be to check values of attributes, if there is no pre-defined list of options (check value='' but don't check align=''). By the way: thanks for your good work! Thomas
In CVS, Kate is able to not spellcheck HTML tags. The feature is very limited, for example all text in javascripts and style sheets is still checked. But it's there.
I hate to have to ask this, but where is it? I can't find any spellchecking options anywhere in Kate, and in KDE 3.5.8, Kate is /still/ spellchecking the tags in my XHTML documents.
it should happen automatically for documents with mimetypes text/html, text/xml and text/x-php. What mimetype is your document (look at it in konqueror, which does about the same check as KatePart)
I was saving the files with the *.xhtml extension, and I had set the mimetype to application/xml+xhtml, which I thought was correct. (Apparently *nothing* on my system recognizes the xhtml extension by default, which I don't understand. I have to manually tell every application about this extension, it seems.) Now I tried setting the mimetype of *.xhtml to text/html instead. I'm not sure if that's correct, but now the Kate spell checker works properly. And Konqueror's thumbnail views actually show the appearance of .xhtml files instead of just a preview of the source, which is much nicer.
SVN commit 1148339 by cullmann: mwolff: limit spellchecking to text and comments in HTML BUG: 82543 M +29 -28 html.xml WebSVN link: http://websvn.kde.org/?view=rev&revision=1148339