[TxMt] Spell Checking

Trevor Turk trevorturk at yahoo.com
Fri Nov 4 04:06:17 UTC 2005


--- Allan Odgaard <throw-away-1 at macromates.com> wrote:

> I have the problem myself (liking spell checking,
> but having *.txt  
> files with lots of non-prose), so I'll consider what
> can be done to  
> set it on a file basis.
> 

That would be great. I don't think it's a huge
problem, but it would probably be nice to figure out a
way around it one day. 

> A kludge would be to create a new language grammar
> with something  
> like scopeName set to text.plain.not-prose and
> associate that with  
> your files, by e.g. naming them *.scratch -- that'd
> make it possible  
> to have a specific spell checking setting.
> 

I'll give that a shot. Actually, it might be nice to
have a *.scratch filetype. 

> > Related question - is there any chance of getting
> a
> > keyboard shortcut to toggle "Check Spelling as You
> > Type"
> 
> I've made it option-cmd-;, which seems (sort of)
> consistent with  
> having cmd-; do “Check Spelling” (for Cocoa apps at
> least), and my  
> use of option-cmd to “toggle” a setting.
> 

That's terrific. Thank you.

- Trevor



More information about the textmate mailing list