Having just returned to the Macintosh after eight years of using
Windows (and TextPad), one of the first applications I installed was
TextMate. Twenty minutes later, when I'd piped my first text through
markdown.pl and created my first tab-activated snippets, I was already
happy to pay the license fee.
However, I then found it wasn't possible to enter Japanese text. The
list archives revealed that Kazuo Saito had already raised this issue
(http://one.textdrive.com/pipermail/textmate/2004-December/001824.html)
and that Allan Odgaard had promised a fix:
> I can't give an ETA on when this will be fixed, but I can imagine it's
> frustrating for those who rely on these input methods, so I'll try not
> to have “the fix” pending for too long.
I appreciate that perhaps only a tiny minority of TextMate users need
to work with Asian languages but was hoping that it might be possible
to give an approximate ETA on when this will be fixed. I really don't
want to waste time looking for an alternative to TextMate.
Thanks,
Jonathon Delacour
Just something I ran into today, which I just assumed to be there until I
wanted to use it: search direction option :)
Jeroen.
--
"We apologize for the inconvenience"
Emulate the CodeWarrior/Xcode Open Quickly feature, but open all
matches instead of just the first one. (NSAttributedString, I'm looking
at you.)
####
find /usr/include
/System/Library/Frameworks/ApplicationServices.framework
/System/Library/Frameworks/AppKit.framework
/System/Library/Frameworks/Foundation.framework
/System/Library/Frameworks/Kernel.framework -name `osascript -e "tell
application \"SystemUIServer\"
activate
display dialog \"Find and open which header?\" default answer
\"$TM_SELECTED_TEXT\"
set headername to text returned of the result
do shell script (\"/bin/echo \" & headername & \"*\")
end tell"` -print -exec open -a TextMate {} \; &
####
A refined version of this may show up in the C bundle soon. Meanwhile,
feedback is welcome.
Have fun,
Chris
hi,
some people on the list talked about the icon and it seemed they
didn't like it very much. i dont hate the old icon but it also doesnt
impress me every time i see it, so over the weekend i had too much
freetime and fired up inkscape to play around a bit. here is the
result, i would like to hear some opinions how you like it or not.
its inspired a bit by subethaedits icon and by the color-circle one
posted here on the list and so i filled it purple to fit the gap. :)
--
Torsten Becker
Hi,
I'm new to the list, so please forgive me, if this has being asked
before.
Is it possible to change the tab behavior of TextMate? For example I
find
it strange that single line intending to the right works correctly
(using tabs),
but if you try to tab back to the left site, it is using spaces instead
of tabs.
It would also be great to change the behavior of multi line tabbing.
I'm so used to use the
tab key to intend to the right and "apple key" together with the tab
key to move lines to the
left. But if I do that, the lines I would like to intend, are deleted.
(I hope you understand what I mean.. sorry for my english)
Other then that I really like TextMate.
Kind Regards,
Andy
Switzerland
hi folks,
Another tip I thought I'd share. I often have situations where I
have to discard all lines in a file that start with a number, or
other cleanup tasks like that. Now, you can use TM's Text>Filter
Through Command... and then use grep or grep -v. But I have a hard
time remembering grep's regexp format. It's already all I can do to
remember TM's and Perl's.
So I wanted to write a command to pop up a GUI input field so I could
enter in a Perl regexp for lines to match with two buttons so I could
either Keep only the matching lines or Discard the matching lines.
So what I did was toss together a quick script in Perl and use
CocoaDialog as a front-end. To use this, you need to download
CocoaDialog from <http://cocoadialog.sourceforge.net/download.html>,
and put it in /Applications. (If you don't like that place, change
the path in the script.)
If you don't have a need for this script, you still might be able to
get some mileage out of CocoaDialog. It is a simple way to get GUI
onto any script that talks to the command-line. It has a number of
different window formats. Pashua is neat, but it requires use-ing a
module, and Platypus is more for creating drag-and-drop things.
good luck, Eric
---
TM Command.
Before: nothing
Command:
my$CD="/Applications/CocoaDialog.app/Contents/MacOS/CocoaDialog";my$rv=`$CD
inputbox --title "Filter with Regexp" --no-newline \\
--informative-text "Filter lines matching this Perl regular
expression:" \\ --text "" \\ --button1 "Keep" --button2
"Discard" \\ --width
500`;my($button_rv,$term)=split/\n/,$rv,2;while(<STDIN>){if($button_rv==2){unless(/$term/){print;}}elsif($button_rv==1){if(/$term/){print;}}}
Stdin: selected
Stdout: replace selected
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu(a)math.sfsu.edu
http://math.sfsu.edu/hsu
howdy,
there is an option to 'Highlight Current Line' in the preferences; is
there anyway to control the color of that line? maybe through the
syntax highlighting files? thanx in advance...
- jamal
I posted another set of icons to the wiki today, but I'll announce it
here. They are more in line (I think) with aqua-style editor icons
(pages and pen), and they use a lot of ideas garnered from the list
archives. There are six colors in the disk image, so hopefully you will
find one you like, and they all have been designed to degrade
gracefully (48 is less detailed so it's not burry and 32 and 16 are
even more so). I would appreciate any feedback/comments etc.
preview: http://www.eight7.com/repository/tmicon_preview.png
icons: http://www.eight7.com/repository/tmicons.dmg.gz
Thanks all!
Jonathan Raphaelson
University of Colorado at Boulder
--
Home: 303-469-3442
Cell: 720-937-4372
jonathan.raphaelson(a)colorado.edu
jonraphaelson(a)gmail.com
>If using LaTeXTidy.pl and your LaTex Tidy bundle command, were should
>LaTeXTidy.pl be placed. I tried usr/local/bin but that did not work.
>Should I place it inside the bundle itself.
First, make sure it's set to execute (chmod +x LaTeXTidy.pl). Then
either place it in your PATH and call it as LaTeXTidy.pl or put it
somewhere you like, e.g. /usr/local/bin/LaTeXTidy.pl and call it with
its full path in the command. I hope that works!
If you put it in the same bundle as the command, then call it with
wither the full path if you know it, or with
"$TM_BUNDLE_PATH"/LaTeXTidy.pl if you think you might move it someday.
Good luck, Eric
ps. Backup your documents! Check! This works for me, but you should
be cautious.