Hello,
I was using Textmate 2.0 beta 6.8, and suddenly, I received this error when
I invoked latex tidy:
Can't locate YAML/Tiny.pm in @INC (you may need to install the YAML::Tiny
module) (@INC contains: /Library/Perl/5.18/darwin-thread-multi-2level
/Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level
/Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2
/System/Library/Perl/5.18/darwin-thread-multi-2level
/System/Library/Perl/5.18
/System/Library/Perl/Extras/5.18/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.18 .) at /usr/texbin/latexindent line 20.
BEGIN failed--compilation aborted at /usr/texbin/latexindent line 20.
I use tidy often, and it usually works. I am sure I used it earlier today
without incident.
Further, I also suddenly received the error "Command returned status code
1." for Typeset and view (PDF) when I compiled a latex file. The file uses
the mtpro2 fonts, which, when disabled, allowed the file to compile again,
but this is the first time this has happened. I did compile the file with
the fonts enabled earlier today.
Thank you for any help.
Best wishes,
Anthony Pulido
Are there plans to make TextMate’s “chrome” (file pane, tabs, etc.) theme-able? I’d like the fonts in the file pane to be smaller and the background to be darker.
Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com
I’m new to TextMate 2 grammar definitions and am trying to add a Markdown regex to identify a Markdown fenced code block like this one:
```
Vagrant.configure("2") do |config|
config.vm.box = "scotch/box"
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.hostname = "scotchbox"
config.vm.synced_folder ".", "/var/www", :mount_options => ["dmode=777", "fmode=666"]
end
```
I built this regex:
{ name = 'markup.raw.block.markdown';
begin = '(^|\G)([`]{3})';
end = '(^|\G)(^[`]{3})';
},
Which hits the starting ``` but misses the ending one. Probably because it thinks the second one is the start of a new code block rather than the end of the last one.
TextMate tangles me up some because it looks at just one line at a time for regex matches. Looked at it that way, each of the ```s is exactly the same!
What would the proper regex be?
Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com
I have Panic Sans (nearly the same as Menlo) picked as my display font. Everything in the editor uses that font. Except markup.raw.block.markdown!
I didn’t do it, or at least I don’t know that I did. What else in my bundles, configuration, or defaults could be doing that?
Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com
I’d like a file menu command to revert a file to its previously saved state, discarding all current changes.
Or is that already somewhere that I missed?
Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com
I have a custom Markdown grammar that I inject into the official Markdown grammar with an injection selector of L:text.html.markdown and it works fine. That custom grammar defines the starting content of a markdown file between -{3} and -{3} as YAML.
I have a custom YAML grammar that I inject into the official YAML grammar with an injection selector of L:source.yaml and it also works fine. That custom grammar defines runs of entity.name.value.yaml.
But my custom YAML injection does not work in Markdown. I wanted my injected custom YAML to be injected into Markdown, but it’s not. I guess injecting into YAML is not picked up when YAML is injected into Markdown. :(
Is that how it is expected to work?
Is there another way to get injections to work on top of injections like this:
Custom YAML -> YAML -> Markdown
Or do I have to fork the YAML grammar?
Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com
My .tm_properties file has this line:
excludeDirectories = "{$excludeDirectories,assets,bin,images,logs,node_modules,cache}”
and it works. Too well.
Not only does it exclude projectroot/images (which is what I wanted), but it excludes projectroot/user/pages/images, too.
How do I restrict excludeDirectories to only a top level folder?
Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com
I have a .tm_properties file in the root of my project folder that contains these lines:
excludeInFolderSearch = "{$excludeInFolderSearch,assets,bin,cache,images,logs,node_modules, config.codekit, composer.lock}"
excludeInFileChooser = "{$exclude,$excludeInFolderSearch}”
That doesn’t hide the folders logs, cache, etc. from the file pane.
Do I have the syntax wrong?
Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com
I have ~/Library/Application Support/TextMate synced between two computers
via Dropbox (Mackup). Today, when I launched 2.0-beta 6.8 for the first
time, com.macromates.TextMate.preview segfaults, and does so for every
subsequent launch.
Console shows this prior to the crash:
TextMate[11231]: CoreData could not fulfill a fault for '0xff880002b
<x-coredata://47E84A6D-2744-440D-ABA2-CE0276F6DD6C/PasteboardEntry/p16354>'
When I remove Library/Application Support/TextMate/ClipboardHistory.db*, it
can start again.
-MinRK