Dear all,
the Matlab bundle does not correctly deal with the ' character as a
mathematical operation.
I have this line in a matlab file:
time = (-L_TEMPLATE/2+1/2:L_TEMPLATE/2-1/2)'; % time vector [samples]
and everything after this line is marked as being a string, because '
is recognized as string-open, I guess?
Does anybody know how to make this work better?
Thx,
Michael
I've got a shell script that I tried to make a little more readable with
ANSI color. It works when I run it from the command line, but when I have
it open in TM2 (and 1) and press Cmd-R, the script executes but I get no
color.
For simplicity, I tried it with a very simple script:
#!/bin/bash
printf "\e[31mhello\e[m\n"
In Terminal, I get a red "hello". In TM, I get
[31mhello[m
Seems like some kind of escaping thing going on; can anyone point me in the
right direction? I've tried a number of variations, including using print
and echo (with -e and w/o), but I get essentially the same results.
Thanks,
+dru
Does any one know how to disable the display of <CR> in a grey box when opening a file with different line endings. I don't want to resave the file with 'correct' line endings.
Maybe it should be tied into Show Invisibles menu command?
Thanks,
Dave.
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
I wrote a very simple bundle to run Python, PHP, Ruby, Bash scripts in Terminal.app without stealing focus from the TextMate window. I.e. you press Cmd + Shift + R, Terminal gets updated in background and you can keep writing code in TextMate.
More information and download:
https://github.com/Cyberic/Run-in-Terminal-Bundle
It's very easy to add support for more languages.
Hope someone will find it useful.
Eugene / Dae
I'm working on a Ruby script in TextMate 2 and all of a sudden I'm seeing the end of my files disappear and inserted midline is ">>>>>>> External Changes" and from there on everything is deleted. The only thing that I've knowingly changed is I've started to use Bookmarks. Therefore Cmd-F2 and shift-F2.
Any ideas?
Greg
I use TextMate mostly with LaTeX projects.
I've noticed that since at least the last two builds of TextMate, using command + ], the command which raises the indentation level (i. e. the keyboard shortcut for »Shift Right« from the Text menu) actually lowers it (it Shifts Left). If I select the Shift Right item from the Text menu, it works just fine.
Is the LaTeX package to blame here? Or is it a weird bug in TextMate 2? How can I trace the problem?
Thanks a lot!
Max
I've been using TM2 for a year now, mostly for Haskell, C, and Go development.
Recently, I've transitioned my LaTeX workflow to TM2 (from TeXShop; I never used TM1 for LaTeX) and am noticing a problem.
In a LaTeX document in TM2, if I invoke my hotkey for Mekentosj Papers' citation feature, and try to insert a citekey, it instead inserts the _previous_ contents of my clipboard (whatever I'd previously copied).
In any other application I have tested this in (Terminal, Mail, Sublime 2, TextEdit... I no longer have TM1 on my system) this works as expected.
Ideas?
thanks,
Noah