For some time I had been using the LaTeX bundle in Textmate 1.5.11 on an
old Mac running OS 10.6.8 with no problems. After migrating my whole
system to a new iMac running Mavericks (OS 10.9), all the keyboard
shortcuts that require Cmd-{ or Cmd-} for completion stopped working.
For example, when typing "frame" and Cmd-{ (in Beamer) I get an error
message like:
"/Applications/TextMate.app/Contents/SharedSupport/Bundles/LaTeX.tmbundle/Support/lib/config_helper.rb:2:in
"
(and yes, it would …
[View More]just end abruptly there)
Completion with Esc or Tab works fine, for the shortcuts that use those,
as does toggling commenting with Cmd-\. But all of the ones with Cmd-}
or Cmd-{ produce an error message. Same thing happens on my new laptop,
likewise under Mavericks.
I've upgraded to TextMate 2, thinking that this might have something to
do with that Ruby thing I've been reading about. However, the problem
has not gone away, though the symptoms are slightly different. Now no
error message appears, but instead the "Cmd-{" and "Cmd-}" keystroke
combinations seem to be completely dead keys; nothing at all happens
when I press them.
Does anyone know what might be going on and how I can fix this? It's
having a pretty devastating effect on my productivity.
Thanks!
--Gunnar
Gunnar Ólafur Hansson
Associate Professor | Department of Linguistics
The University of British Columbia
2613 West Mall | Vancouver, BC Canada V6T 1Z4
Phone 604 822 4658 | Fax 604 822 9687
gunnar.hansson(a)ubc.ca <mailto:gunnar.hansson@ubc.ca>
www.linguistics.ubc.ca <http://www.linguistics.ubc.ca>
[View Less]
I would like code and markup inside certain tags to be indented. Currently, this occurs…
<style>
body { … }
</style>
Desired result:
<style>
body { … }
</style>
I’ve determined that this is because style, script, and other tags are marked as `source.*`. If I rename these language constructs to something that doesn’t start with “source”, then indentation works as expected. However, I do not want to throwaway the advantages of inheriting from source.
Does anyone …
[View More]know where I can begin looking to modify the `source` grammar so that code within certain tags is indented? I have not had any luck with `increaseIndentPattern` (yet).
[View Less]
Sorry if this is FAQ, but can you please point me to where I should go?
I'm using TextMate version 2.0-alpha.9561, but this issue persists for more
than a year and Googling didn't give me any resolution yet.
Simply, it doesn't fold/unfold for YAML file. In 'Edit Bundles', 'Settings'
doesn't include 'Folding' while other bundles such as XML does.
I guess foldingStopMarker might be wrong, but don't know if it's really
used since it doesn't show up in 'Edit Budles / Settings'.
Thanks in advance,
Toru