Hi,
I write a lot of JavaScript and some C and I find that the automatic
indenting doesn't work correctly very often when I cut an paste.
Textmate seems to think I want the pasted text indented more than it
should be. Does anyone else have this sort of trouble? Is there a fix?
Thanks,
Peter
Hi all,
I seem to have messed up my TextMate theme default and was wondering if
anyone could tell me how to fix it. I toyed with the colors of my
favorite theme (Vibrant Ink) and decided I didn't like the changes, so I
uninstalled and then reinstalled the theme. But now when I restart
TextMate it doesn't recognize Vibrant Ink (which does not show up in the
theme list). I looked in ~/Library/Applcation Support/TextMate/Themes,
and the .tmTheme file is there. So what's up? Any clues? I miss Vibrant
Ink :<
Thanks,
Jake
Hi All,
I'm using TextMate 1.5.4 (r1324) on Mac OS X 10.4.8 PPC. I've got the
subversion bundle from the GetBundles bundle, with the latest
tm_plugin checked out by hand from the Plugins dir in subversion on
the macromates server.
When I try to view the log of a file I get the following error, all
the other subversion features seem to work fine -;
NoMethodError
reason: undefined method `text' for nil:NilClass
trace:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Subversion.tmbundle/Support/format_log_xml.rb:22:in `author'
(erb):32
/opt/local/lib/ruby/1.8/rexml/element.rb:939:in `each'
/opt/local/lib/ruby/1.8/rexml/xpath.rb:53:in `each'
/opt/local/lib/ruby/1.8/rexml/element.rb:939:in `each'
/opt/local/lib/ruby/1.8/rexml/element.rb:398:in `each_element'
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Subversion.tmbundle/Support/format_log_xml.rb:18:in `each_entry'
(erb):28
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Subversion.tmbundle/Support/format_log_xml.rb:165
Thanks
---
Jeremy Wilkins
dear all,
i'd like to pose a few basic questions when using textmate for latex
files:
(1) is there a way to get the 'typeset & view window' display the log
file, the way you can have it with emacs?
it seems that changing the values of TM_LATEX_ERRLVL doesn't help ...
(2) is there a way to get textmate use a dvi-previewer? (for reasons
of speed, i still prefer dvi when working on my files).
(3) is it possible to change the fonts (i.e. same font as in in the
editing window) and the header of the 'typeset & view window'?
what's the place to do it?
thank you!
greetings,
christoph eyrich
In early Jan I made a bunch of changes to my blogging bundle, some
overrides, some I had to edit the .rb files by hand.
Whats the best way to compare my changes to the svn tree and submit
them as a patch to be reviewed?
Hi,
I am new to textmate and bibdesk. I am not able to format citations. I can
follow the tutorials but if I try to cite from bibliography completion I get
\cite{sh: line 1: /usr/local/teTeX/bin/i386-apple-darwin8.3.1/kpsewhich:
cannot execute binary file
sh: line 1: /usr/local/teTeX/bin/i386-apple-darwin8.3.1/kpsewhich: cannot
execute binary file
Ng1}
I am using a PowerPC G4, with os x 10.4.8 and textmate 1.5.4.
I have found some suggested workarounds by Özgür Gökmen... But unfortunately
don't understand what I should be changing or where to find some of the
files I need to change.
If anyone has had similar problems and can point me in the direction to
solving this error I would greatly appreciate it.
-Michael
Hello All,
Great to see such an active community for a text editor!
I've been using TM for a largish python project. I have quite a few
source files now and using the project draw and tabs to navigate
between them.
Anybody know how I can mark one file in my project as the file to run
using the Run Script Command.
Would I need to modify the Run Script Command for this to work?.
I've looked at it in the bundle editor but it makes no sense to me. I
tried hacking some changes in so that it would run a specific file
rather than $TM_FILEPATH but without luck.
Any help much appreciated.
Jay.
I've been trying to get the perforce bundle installed
on my macpro; I'm using the bundle browser at
<http://netcetera.org/cgi-bin/tmbundles.cgi>
I copied the script locally and ran it, and I kept
getting the error:
svn: Can't convert string from 'UTF-8' to native
encoding:
subversion/libsvn_subr/utf.c:464: (apr_err=22)
svn: Perforce.tmbundle/Commands/Submit
Changelist?\226?\128?\166.plist
I found that editing the script and adding the line:
export LC_TYPE
after the line that sets LC_TYPE fixes this problem.
The UTF-8 was for the ellipsis character.
Just FYI,
Rudi
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news
I want to have a regular expression that identifies the items in a
line from a comma-separate values (CSV) file.
Imagine one style of CSV, in which such items are all quoted (Format 1):
"First Item","String","0","Yes","Yes","No","The contents of the
string in the first item"
"Authority","ID","0","Yes","No","No","ID of the person
""responsible"" for the item, if known"
In CSV, double-quotes permit embedding commas (and spaces?) in record
fields. Double-quotes in such fields are escaped by doubling the
character.
The regex that matches the full text of the item is fairly
straightforward:
"((""|[^"]*)*)" # In quotes, a run of double-quotes and anything
else not a quote; make $1 hold the unquoted string
However, a field may be empty (represented by no characters between
the commas). This a special case of the less-paranoid (and arguably
more standard) way of writing the file (Format 2):
"First Item",String,0,,Yes,No,"The contents of the string in the
first item"
Authority,ID,0,Yes,No,No,"ID of the person ""responsible"" for the
item, if known"
The something-between-quotes regex doesn't pick up the nonquoted
fields (obviously).
So make the regex fancier, to make the quotes optional and recognize
the field separator (which does not exist at the end of the record):
("?((""|[^"]*)*)"?),?
This still works for Format 1, but in Format 2 it matches the whole
of any run of records that aren't quoted (String,0,Yes,Yes,No,").
Start from the other end, and try a regex that matches fields not
quoted:
([^,[:cntrl:]]*),? # any run of characters, including blanks, that
aren't controls or commas, and may end in comma
The exclusion of control characters prevents the matching of:
"The contents of the string in the first item"
Authority
If the next field is a quoted string with a comma in the middle, this
pattern stops at the embedded comma.
So maybe a pattern that combines the two patterns would work:
(("?((""|[^"]*)*)"?)|([^,[:cntrl:]]*)),? # match quoted fields if
you can, unquoted fields if you must.
No: This pattern matches
String,0,,Yes,No,"
in the first line of the Format 2 example. It's the same behavior as
the quoted-only pattern (matches runs of nonquoted strings).
Reversing it:
(([^,[:cntrl:]]*)|("?((""|[^"]*)*)"?)),?
behaves the same as the nonquoted pattern (matching stops at commas
within quoted strings).
I'm out of ideas. Does anybody have a suggestion?
— F
Is there a way, to see an RTF document without the RTF markup in it?
I have some 100 RTF files, and I need to do a global search and
replace. It is no problem I think, to do this in Textmate, cause the
things I will replace wont appear in any RTF commands, but i would
like to view the files properly at least. looking at all the RTF
markup is just a little confusing :)
Any suggestions on how to this another way? I am up for suggestions.
Thx in advance,
Thomas Krajacic