Nat Pryce wrote:
> Hi.  I have a feature request for XXE.
> 
> I'd like to be able to disable the spell checker for given elements of
> a doctype.

The spellCheckOptions configuration element already allows to do this. See
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/spellCheckOptions.html



> For example, when editing Docbook I'd like the spell checker to ignore
> some elements, such as classname, methodname, varname, programlisting.
> 
> Ideally, that would the elements for which spell checking is disabled
> would be part of the Docbook configuration.
> 

This is already the case for programlisting: see below.

   <cfg:spellCheckOptions xmlns=""
     useAutomaticSpellChecker="true"
     languageAttribute="lang"
     skippedElements="address funcsynopsisinfo classsynopsisinfo
                      literallayout programlisting screen synopsis
                      code sgmltag" />

I'll add in both DocBook 4 and DocBook 5 configurations the following 
elements:

* modifier, package, classname,  interfacename, exceptionname, varname, 
methodname,
* modifier, type, function, initializer, parameter, funcparams
* lhs, rhs, nonterminal

And I'll remove literallayout from the list.





Reply via email to