Home › Forums › General XMetaL Discussion › Tip: Faster spell checking by skipping certain elements › Reply To: Tip: Faster spell checking by skipping certain elements
Reply to: Tip: Faster spell checking by skipping certain elementsJuly 8, 2009 at 11:19 pm
Interesting. Will you be able to skip over content based on other attributes? One use case I can't quite pull off with the css trick is to spell check only content that has revisionflag=”added” or revisionflag=”changed”. The idea is that as I edit the doc for the next release, I'll add revisionflag attrs any time I add or change (and in some cases delete, but no need to spell check that; the revisionflag attrs could be added pro grammatically too with a smart enough xml diff tool). Those revisionflag attrs are used to make changebars appear in the output so reviewers know where to focus their attention. I'd also like to spell check only that content that has revisionflag attrs.
In addition, it would be nice if your language-aware spell checker could skip programlistings, code, filename and other elements of my choosing.
However, this would all be beside the point if you move to a spell checker that shows red underlines as you type. Having that spell checker be aware of what language it's spell checking based on xml:lang would be nifty too.