Is there a simple way to turn off "check spelling" for a particular document? You know, so that TextMate would remember it? I've got some scratch pads that get littered with re underlines, but I really like the spell checking in most cases.
Related question - is there any chance of getting a keyboard shortcut to toggle "Check Spelling as You Type" - I can't seem to do a macro or anything for that, and t'would be handy.
- Trevor
And while we're slightly OT anyway (just slightly, this is probably a system wide setting rather than localized to TextMate, right?) does anyone know a way to change the language? Possibly app specific?
Andreas
hmmm, I'd like to pay with a tip, but I don't know TextMate well enough to tip anything that hasn't been said already.
On 3 Nov 2005, at 19:37, Andreas Wahlin wrote:
hmmm, I'd like to pay with a tip, but I don't know TextMate well enough to tip anything that hasn't been said already.
Well here's one I've just discovered. If you do Apple-/ (Toggle Comment) without a selection, it uncomments everything that was commented out in the current file. Neat!
I wonder if it's possible to modify it so that, if there's no selection, if acts upon the current scope? That way, if you're inside a comment, it'll uncomment all of that block, and if you're in a bit of code, it'll, well, maybe I hadn't quite thought that through. :-)
On 03/11/2005, at 20.37, Andreas Wahlin wrote:
And while we're slightly OT anyway (just slightly, this is probably a system wide setting rather than localized to TextMate, right?) does anyone know a way to change the language? Possibly app specific?
Using Edit -> Spelling -> Spelling… and the language popup doesn't work for you?
I seem to recall a problem with 3rd party spell checkers where it doesn't remember the setting, but it works for me with the standard dictionaries.
On 03/11/2005, at 19.42, Trevor Turk wrote:
Is there a simple way to turn off "check spelling" for a particular document? You know, so that TextMate would remember it? I've got some scratch pads that get littered with re underlines, but I really like the spell checking in most cases.
It's only possible to toggle per language (file type).
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.
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.
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.
--- Allan Odgaard throw-away-1@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