Re: Spell Check?

TJ <[email protected]>
Newsgroups gmane.comp.kde.devel.quanta.user
Organization TJworld
Message-ID <1194913294.15282.10.camel@hephaestion>
I found this thread in the archive after having a few issues getting
Quanta 3.5.8 working with Aspell on Ubuntu Gutsy (Gnome).

I had to add the settings below to ~/.kde/share/config and then restart
Quanta for them to take effect.

I now have spell-checking but there's a problem. I'm working with
(X)HTML documents but it checks the tags as well as the content.

I've read that Kate can be configured to ignore tags. There seem to be
one or two ways:

1. using KSpell::checkList() as opposed to KSpell::check()
2. KSpell::SpellerType { Text = 0, HTML, TeX, Nroff };

but I cannot find any documentation on how to configure it, so:

a. Is it possible for Quanta to spell-check only content, not markup
tags?
b. How do I configure it?

Many thanks,

TJ.

---- KSpell configuration ~/.kde/share/config ----
[KSpell]
KSpell_Client=1
KSpell_Encoding=11
KSpell_DictFromList=1
KSpell_Dictionary=en
KSpell_NoRootAffix=0
KSpell_RunTogether=0

--- The values ----

enum KSpellClients {
 KS_CLIENT_ISPELL=0,
 KS_CLIENT_ASPELL=1,
 KS_CLIENT_HSPELL=2
};

enum Encoding {
 KS_E_ASCII=0,
 KS_E_LATIN1=1,
 KS_E_LATIN2=2,
 KS_E_LATIN3=3,
 KS_E_LATIN4=4,
 KS_E_LATIN5=5,
 KS_E_LATIN7=6,
 KS_E_LATIN8=7,
 KS_E_LATIN9=8,
 KS_E_LATIN13=9,
 KS_E_LATIN15=10,
 KS_E_UTF8=11,
 KS_E_KOI8R=12,
 KS_E_KOI8U=13,
 KS_E_CP1251=14,
 KS_E_CP1255=15
};
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.