I pressed control alt shift B and then clicked on one of the popup items: Blog HTML Blog Markdown Blog Text Blog Textile LaTeX Beamer
Now all of my syntax highlighting is gone.
I was edting javascript. How do I get textmate back to normal? And more generally, how do I figure out what that keyboard shortcut did without asking the mailing list? (I searched for a long time to no avail).
Thanks.
On Fri, Jul 30, 2010 at 03:12, mstorus mstorus@cisco.com wrote:
I pressed control alt shift B and then clicked on one of the popup items: Blog – HTML Blog – Markdown Blog – Text Blog – Textile LaTeX Beamer
Now all of my syntax highlighting is gone.
You switched the language for your document; the menu in the bottom bar should, just right of the column number, indicate which language is active. To switch back, click that menu and choose the language you want.
And more generally, how do I figure out what that keyboard shortcut did without asking the mailing list? (I searched for a long time to no avail).
Hit ⌃⌘T (for Select Bundle Item…), then from the dropdown in the search bar of that window, choose “Key equivalent” and hit the key you’re wondering about.
HTH, Martin
dood! you hit ctrl-alt-shift B??!?!
Noooo!
you're totally screwed.
just kidding. /;-J you just switched languages. ctrl-opt-shift 'Letter' is the command to shift languages - depending on which bundles and languages you've installed you may have a few or you may have alot.
in any case - to revert to JS just use the little 'L' pop-up menu at the bottom of the doc window or use the shortcut ctrl-opt-shift J and select Javascript.
cheers, bennett
P.S. Interesting - I was going to include a link to the proper section in the online manual but I can't find anything! I only did a cursory check, so maybe it's there - but perhaps the docs need a bit added about the basics of switching languages etc.
On Jul 29, 2010, at 6:12 PM, mstorus wrote:
I pressed control alt shift B and then clicked on one of the popup items: Blog – HTML Blog – Markdown Blog – Text Blog – Textile LaTeX Beamer
Now all of my syntax highlighting is gone.
I was edting javascript. How do I get textmate back to normal? And more generally, how do I figure out what that keyboard shortcut did without asking the mailing list? (I searched for a long time to no avail).
Thanks.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 30 Jul 2010, at 03:50, plastichairdoo wrote:
[...] P.S. Interesting - I was going to include a link to the proper section in the online manual but I can't find anything! I only did a cursory check, so maybe it's there - but perhaps the docs need a bit added about the basics of switching languages etc.
I did a blog post about indepth file type sstuff: http://blog.macromates.com/2007/file-type-detection-rspec-rails/
But agree that something should be worked into the manual, as this comes up a lot.