I have two bundle commands with identical input and scope settings.
One of them sees the TM_INPUT_START_LINE_INDEX environment variable,
the other does not.
Any idea why that may be?
Thanks
Gerd
Hi,
I found a small bug. Since this is part of a bundle, the macromates
website asked me to report it here.
Summary: sort does not with euro symbol, and some other non-Latin
characters.
Steps to reproduce
1. Open new text file.
2. Add text with a EURO symbol, e.g.
aaa €
bbb ¥
ccc $
ddd £
3. sort the file with F5 (Text > Sorting > Sort lines in document)
I get the error:
sort: string comparison failed: Illegal byte sequence
sort: Set LC_ALL='C' to work around the problem.
sort: The strings compared were `AAA \302\202\254' and `BBB ¥'.
Most non-Latin characters work fine. Just this one fails. If I save the
file and simply run "sort test.txt" all is fine. Both in my shell and in
TextMate, "echo $LC_ALL" return "en_GB.UTF-8".
Typing the following script in TextMate and "run script" works fine:
echo "ccc\naaa€\nbbb" | sort
What would be different for the "Sort lines in document" (which simply
calls "sort") and the above script?
Any clue?
Is this reproducible by others?
Regards,
Freek Dijkstra
Hi,
I have made the following
blunder a couple of times. I go to open a file in textMate using
File->Open and am in column view. I accidentally double click on the
folder instead of single clicking. In list view or icon view this
would just open the folder and go to the next level. In column view
this actually opens the folder in textMate. If you are unfortunate
enough to do this at low enough a level, textMate will then start
scanning the entire folder hierarchy.
I seem to remember seeing a command that would stop this process. I
searched the archives of the list, but apparently I didn't on the
right word choices.
BTW. Part of the beauty of textMate is that it doesn't protect you from such
blunders. My chain saw expects me to know not to run it while the chain is
directed at my own leg. If I put a guard on the chain, it would make the
tool REALLY hard to use.
Currently I just force quit textMate and start over. I just wonder if there
is a better way.
Have a great day.
--
Brad Tittle
I'm constrained to use Subversion 1.6.x, and this breaks the
Subversion bundle I have. I did try checking out the current bundle
into /Library/Application\ Support/TextMate/Bundles, but that seems
not to have helped.
Is there any relief for this? Either a new bundle or some Subversion
properties I can set?
I searched the Nabble archive for this list, and looked back a few
months, but found nothing relevant.
— F
Attached are two services written to take advantage of Snow Leopard's
context menu/automator integration.
TxtToTM sends text selected in any application and opens a new TextMate
window with that text inserted. There is a rudimentary heuristic set up to
check if the text is Javascript/HTML/CSS/Applescript and set the textmate
bundle type accordingly. This is implemented through an Applescript in
Automator. So this can be extended/improved/hacked by the many textmate
users who are, no doubt, more proficient in Applescript than me.
Edit in Textmate will open any file or folder selected in Finder in
Textmate. Folders open to Projects.
These services show up when contextually appropriate (i.e. when you have
text selected it will be in your right click menu).
To install unzip, and put the two files in ~/Library/Services. You may need
to go to System Preferences/Keyboard/Services and make sure the box next to
each of them is checked for them to show up in your context menu.
These are written using Automator's new Create Service function in Snow
Leopard, so are 64 bit compatible. I have no idea if they would work in
10.5.
Hi all,
Is anyone else getting r1509 from the automatic updater (set to "minor
updates"), but seeing 1510 on macromates.com?
And it's not just a typo in the site, the build there really does have
a revision number of 1510, but its changelog only shows to 1509.
Slightly confused,
-NK
I have setup textmate as the default editor in terminal.
so, when I type 'hg commit' it opens textmate. I enter the message on the
first line after the headers and hit save and close textmate and nothing
happens. What am I doing wrong?
--
View this message in context: http://www.nabble.com/Textmate-and-Mecurial-tp25216773p25216773.html
Sent from the textmate users mailing list archive at Nabble.com.
If I have for example this code:
function foo() {
var list = [];
}
Note there is 4 spaces indention.
I work in 5 spaces soft tabs.
If I move the cursor to just before the "v" in "var", and left arrow,
I move to the left one space. Somehow, I need to reformat this code
to be 5 spaces. Then when I move the arrow to the left, it moves 5
spaces, or one apparent tab stop.
I have tried selecting the code, while I have my tabs set to 5, hard
or soft, using reformat selection, in this case, in the JavaScript
bundle area, or, convert spaces to tabs. Neither gets me where I need
to be.
I end up re-tabbing all the code, which is a tedious process.
I I just add one space, or select the 4 spaces and replace with a tab,
I get the functionality I want:
function foo() {
var list = [];
}
That example, the space before the "v" becomes a tab, either hard or
soft.
Thanks.
--
Scott * If you contact me off list replace talklists@ with scott@ *
Hello,
Thanks for posting how to fix all the other issues with Snow Leopard,
but I haven't seen anything about master files in Latex mode.
So, I have my latex file split up in several files and on top of each
separate file I have;
!TEX root = [...]thesis.tex
And under Snow leopard, textmate seems to be ignoring that line (i.e.
compiling with or without that line gives me the same error)
Any idea about this issue?
Thanks again,
Jerome
I spent yesterday watching a handful of screencasts for learning
jquery. I was shown perhaps 5 or more editors, and started to see
value in workflows I am not able to replicate.
I'm sure I'm just missing some prefs, pointers appreciated.
Vertical grid on tab stops. How do I turn this on? Seeing where a
statement begins and then closes at a glance is very powerful. In
jquery with all the parens and brackets, this visual alignment would
help a lot.
I think this may not be possible. I figured I could get by with show
invisibles. I'm not seeing tabs or spaces, just returns. I would also
want to set returns and spaces to the same bg color to hide them. Too
much noise.
I tried multiple themes, I can not get invisibles to show other than
returns, which I don't need to see anyway.
Code reformatting. If I take any small chunk of jquery, select it,
navigate to the bundle for JavaScript and tell it to reformat the
code, it more or less reformats to a few lines. What am I doing wrong?
Indenting. If sample code is copied in with say, 1 or 2 spaces used as
indents, and I like to use 5 soft tabs, I'm finding no way to adjust
that code to my tab stops. I end up retabbing it by hand.
Next up would be where the open or close brace or paren is thought to
be. I see I can get a blink on some parens but not others.
What are the rules that define this blinking and can it be expanded?
Also, the blinking is not quite enough for me. Having the actual open
and close characters actively highlighted when your cursor is to the
left or right, massively helpful to me.
Current word highlighting. If a variable, class, method etc are
clicked on, how can I get all occurances of that word also highlighted.
Projects. I don't often get a chance to clone down an entire site and
work locally. Is it correct there is no way to get a remote FTP based
site to remember code folding or work in a project?
I would be happy to figure out how to drag a window into a tab from a
remote site, that would go a long ways.
I don't always get ssh access, and I'm sure some will suggest
expandrive. To be honest, I've tried it. There are too many reports of
it failing on FTP to even list a directory. I worry it may delete
remote files. I worked a little with the expandrive people, giving
them access to an FTP server that matched the issues many others were
reporting, currently still seeing broken behavior.
I'm a little stubborn in that if I'm going to use a tool, I would want
to use it everywhere, not just on ssh connections. Jumping from one
toolset to another tends to take my brain too long to shift back into
being productive.
Saving. Is there a way to get save to have the entire filename
selected? The trailing .html is something I'm always having to trim
off. Usually I just command-A then start typing. Looking to save a step.
Is there a way to select the current line only up to the first and
last characters?like select word, but for a line.
Is there a way to tell a line to best guess the correct indent level,
and shove it in place?
I have a feeling some of these issues have solutions and I just don't
know where to look. Others i suspect I may be stuck on. Looking for
any old hats that have been down this road before.
Thanks. As a side note, watching some of these screencasts, I can
certainly say, TM's features certainly should be adopted by other
editors, I don't know how some people get by.
If I had to put two items on a list, vertical tab grid lines and
remote conection meta data saved would be pretty high up there.
Thanks everyone.
--
Scott
Iphone says hello.