Hi,
Having now upgraded, the themes editor is great. TM just gets better
and better.
The old Perl bundle contained a definition to treat the following
equally:
qq(Hello World);
qq{Hello World};
qq|Hello World|;
This latter form, although a little weird, is nonetheless valid Perl,
and something I use all the time. The new Perl bundle recognises the
former two perfectly, but not the latter.
The naive experiments I've made in the bundle editor haven't gotten me
anywhere, so I was hoping someone would be able to talk me through how
to get my beloved qq|| working in the new Perl bundle.
Many thanks in advance!
Cheers,
Andrew.
--
::
article seven Andrew Green
automatic internet andrew(a)article7.co.uk | www.article7.co.uk
I have the same problems as detailed in this thread -
http://comox.textdrive.com/pipermail/textmate-dev/2005-June/001827.html
At work I'm running osX 10.3.9. None of the diff commands work. When I
try to diff I get the spinning beach ball and then nothing.
At home, runing 10.4.1, everything works fine.
I'm running textmate 1.1b13 with a svn update of the entire bundles
repository (I'm at rev 1226).
There didn't seem to be a resolution to the problem in the thread,
other than Charilaos Skiadas problems seemed to go away for 'Diff
revisions' and 'Diff with revision.' Following the suggestions in the
thread I have different results. My error text when outputing Diff
Revisions into a new window is
/bin/bash: line 20: [: too many arguments
I don't get the
-:1:in `require': No such file to load -- svn_diff (LoadError)
from -:1
Also, CocoaDialog --help and ctrl-R to run the line as a command
produces:
CocoaDialog --help/bin/bash: line 1: CocoaDialog: command not found
Any more thoughts - do I need to update ruby maybe? Start from scratch
maybe? Persuade the FO to upgrade my system to Tiger?
Hey There,
Just updated to textmate 1.1b13, and I no longer have the
beautiful colour scheme, is there anyway i can get the old colour
schemes back, with the new version.. I need help, i know it's finicky
but i find it really hard to develop in anything but that scheme, and
it's partly why i purchased textmate to begin with. Cheers
- james
I'm on 10.4.1 and TMb12 keeps throwing the user interface sound
affects at me. Actually it's the default "alert sound" called Funk.
This alert happens when I open a new file and when I make a change to
the contents of a file among aother times. I have not made nay
changes to my sys prefs.
Anyone?
-t
I think I remember someone mentioning that this is possible, but I
can't find any mention of it. I'm looking to type the same thing at
the end of all the lines in a file. They don't line up in perfect
columns , so the standard column typing won't work. I need Textmate
to find the end of each line and insert there. Is this possible?
Thanks,
Bryce
Allan,
You the man! That works perfectly, thanks.
Chris
> Try this: ${TM_FILEPATH#$TM_PROJECT_DIRECTORY/}
>
> The #-thing means: „minus this prefix‰. There's also % for „minus
> this suffix‰.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
I just updated to b13 (from b12) and svn up'ed the latest bundles.
When I open a myfile.rb file the syntax coloring is normal (same as in
b12). If I then open a myfile.rhtml file the coloring is also normal
(different than with .rb, but same as in b12). If I then switch back
to the myfile.rb tab, the syntax coloring becomes, for lack of a
better word, confused. Seems the background color remains the lighter
color used for .rhtml file rather than switching back to the black
color used for .rb. If I close and reopen myfile.rb, the colors are
again correct.
I've removed all of my local ~/Library bundle files and restarted TM -
same result.
If this is unclear I can probably manage to create a screenshot or two.
--
Jack Baty - Director of Unspecified Services
Fusionary Media - http://www.fusionary.com
Weblog - http://blog.jackbaty.com
For those not subscribed to my RSS feed, I did a writeup of the new
language grammar features: http://macromates.com/blog/archives/
2005/06/23/language-grammars/
I know this is kind of cheeky, but I am thinking of making some macros where
it would be incredibly useful to be able to get the path of the current file
relative to the project directory, instead of as an absolute path from the
root hard drive, is there any possibility this could be added? (I really
have no idea how difficult this might be). Or perhaps this is so easy in
Perl that its not worth the effort, Im afraid I don't know any Perl.
Regards
Chris
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
All -
I need to write (at least parts of) bundles for "stx2any" source text
and Eiffel source code. Now I was wondering if there's a standard, or
de facto agreed upon, list/definition of the scope terms, such as
"support.function.section.latex" or "keyword.control.c", including
how to define extensions to these for new languages. And related to
this, how are the "setting groups" and "settings items" in the theme
editor defined and organized: is there an agreed upon scheme?
Thanks for any help and hint.
With regards
- Stefan
--
Stefan Brantschen
sbr(a)acm.org
Who wrote the actionscript bundle? I have some ideas :)
___________________
Ben Jackson
Diretor de Desenvolvimento
+55 (21) 9997-0593
ben(a)incomumdesign.com
http://www.incomumdesign.com
For short columnar edits, it's not really perceptible, but if you
make columnar selection of a mere 1500 lines or so, you'd notice a
very noticeable lag. Now some of this could easily be that I do
almost all of my work on a G4 500 powerbook. But it's still VERY slow.
Now, more seriously, I know that my selection length was rather
extreme. But it took about 5 minutes or more for TextMate to catch
up when I had typed in the 4 characters I'd wanted to replace
('None' It was python).
--
Robert M. Zigweid http://robert.zigweid.net
rzigweid(a)zigweid.net
I can't find any docs that tell me know to do the cool stuff shown on
the TextMate website. Like I want to edit a block of text and make a
change on the first line repeat in the following lines. How do I do
this?
How do I select text by column?
Why isn't this info easier to find?
Also, the app seems to be autosaving. Is there a way to turn this
off (I'm on a slow link).
Thanks,
Ernest
I Downloaded b12 and was playing around when I noticed something that
I thought had been 'fixed' earlier and appears to not be working now.
I have not used TM for a little while so perhaps what I am trying to
do has been slightly changed or I was imagining things:
Problem:
Drag an image file from the drawer into the html file and have the
tag, width and height added automaticlly. Ideally the behavior would
also put in an alt and have the cursor default to that location as
well as a closing / if it is xhtml.
Solutions ?
Thanks,
Eric Curtis
Are they working yet? And is there any documentation? Examples would be
nifty.
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
Is it possible to match multiple lines in a single match? For
instance, to match:
A heading
========
I tried:
^(.+?)\\n={3,}$
but it doesn't seem to work. Any guesses why? I hope I have just made
a silly mistake somewhere.
Haris
Hi, I'm modifying the default actionscript bundle and I have a regex
question that I haven't been able to figure out.
I want to match a function declaration, but I don't want to capture
the arguments of the function. In other words, in a function like this:
public function addItem(name: String, item: MenuItem): Void {
// ...
}
I want to color
"addItem(" and ")"
but not
"name: String, item: MenuItem
Is this possible in one regex expression? Is there some way to match
something by looking for a leading (or trailing) indicator without
including the indicator in the match? In other words... something like:
[in pseudocode] find ")" preceded by "function [a-zA-Z_]* ( ^)"
I'm currently using this regex to successfully capture the whole thing:
match = "\\b(function)\\s+([a-zA-Z_]\\w*)\\s*\\([^\\)]*\\)";
Thanks for the help!
Ed
Hello! Who is the maintainer of the bundle for Markdown? Looks like
he is missing from the README in svn.
I noticed the regexp for emphasis
match = "[*]([^\\\\*]|\\\\.)*?[*]";
causes the engine to beautify the bulleted list
* normal *emph*.
with " normal " in italics instead of "emph". Do those TM regexps
support some sort of precedence? Do they supoprt look-behind assertions?
In addition, the regexp for itemized lists looks too weak:
begin = "^\\s*[*+-]";
According to the current spec it would be something like:
begin = "^ {0,3}[*+-][ \\t]";
-- fxn
I noticed the following while playing with the markdown bundle. Seems
to me like a bug when changing a language that is included in the
current language for a document.
1) Open an empty document, write some stuff (including some inline
markdown like emphasis) and select markdown as a language.
2) Make changes to the inline markdown language, press format and
test. They are not reflected in the text.
3) Opening a new file, copying the text over, and making the language
in the new file markdown reflects the changes. The original file
still does not show any difference.
4) Changing the language of the original file to LaTeX, and then back
to markdown doesn't fix it either.
5) Changing the language of the original file to Inline markdown, and
then back to markdown still leaves it bad.
Haris
Tiger has a new feature in Cocoa apps. The dictionary feature. I
had thought that TextMate was Cocoa. (To be honest, I haven't looked
that closely). Out of curiosity when I was using the dictionary
feature, which is activated with command-control-d, I noticed that it
did not do anything. Is this explicitly disabled in TextMate, or is
there a key-binding that I haven't found yet that masks the system
key-binding.
I'm using b12 and have relatively new bundles.
--
Robert M. Zigweid http://robert.zigweid.net
rzigweid(a)zigweid.net
Just wondering if this is a bug or the expected behavior. I currently
have open the theme editor, and bundle editor, and a document. If I
press Cmd-` successively, the windows come in front in the following
order:
document - bundle - document - theme - document - bundle - ....
I would have expected
document - bundle - theme - document - bundle - .....
If I have two documents open, the sequence of events is:
document1 - bundle - document1 - theme - document1 - document2 -
bundle - document 2 - theme - document2 - document1 - ...
This certainly doesn't feel right, and it takes forever to get from
document1 to document2.
Haris
Hello,
I'm a Windows->MAC switcher and have tried several source code
editors. I was very charmed by TextMate! ;-))
Now my question. Is there anyone who has the configuration files for
XBase, dBase or CA-Clipper language Syntax Highlighting?
Thank you!
Best regards
--
Patrick Mast,
http://www.PatrickMast.com
Is the TextMate service shortcut still command-esc? I use Quicksilver,
and the shortcut conflicts with "Send to Quicksilver".
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
Searched the list for this and went through the Preferences and menus
and couldn't find anything about this problem.. so I apologize if
it's an easy RTFM answer!
Since upgrading to the latest TextMate, I've noticed that whenever I
save, the screen jumps to centralize the row that the cursor is
currently on. Why? This is driving me nuts because I'm always hitting
Cmd+S (usually without thinking) every now and then while I'm
developing and the jump jars my thought process. b5 did not do this.
So.. how can I turn this off?
Thanks in advance!
Peter Cooper
I write a LOT of LaTeX documents, and as I was working on the class
for one of them, I've noticed that when trying to fix up some braces
({}), TextMate will slam the CPU on my iMac G5 to 100% for 15-20
seconds, before continuing. Here's a little snip from what I was
trying to fix:
\newcommand{\tla}[1]{{\scshape {\MakeLowercase{#1}}}}
Not very complex, but when I added the last closing brace, it went
wonky. I had thought in the past that it wouldn't come out, so I'd
kill it, but this time, I just let it run, and eventually it fixed
itself.
I tried switching to plain text, and that helped, so it seems to be
something in the way the language pack is written. Any thoughts?
Chris
--
| Christopher Petrilli
| petrilli(a)gmail.com
Sorry if this has already been answered, but I couldn't find a thread
on it.
Question -- how do you change the transparency value of the document
window? The latest beta defaults to this, and God almighty does it
hurt my eyes. ActionScript syntax highlighting doesn't appear to be
working either, which makes the transparency even harder to read text
on.
Todd
hi
There seems to be a syntax coloring/language definition bug in TM
that leads to an unexpected quit (not a real "crash" as I don't get
an OS X crash report). I've attached a LaTeX document that leads to
this (with current bundles). Can anyone reproduce this behavior?
--
bye, Frank!
Has anyone had problems with pasting and indenting? I found a message
from last october but no followup.
What happens is that whenever I paste code, things are "double"
indented. For example, if I select, copy and paste just the 2 middle
lines of the following...
1 def index
2 @todos = Todo.find(:all, :include => [:users, :job])
3 render_partial_collection "todo", @todos
4 end
... I end up with this...
1 def index
2 @todos = Todo.find(:all, :include => [:users, :job])
3 render_partial_collection "todo", @todos
4 @todos = Todo.find(:all, :include => [:users, :job])
5 render_partial_collection "todo", @todos
6 end
Line #5 shouldn't be indented any more than line #6, yet it's
indented with 2 additional tabs (or set of 4 spaces, doesn't matter
which I use). That's not supposed to happen, right?
Using b12.
--
Jack Baty - Director of Unspecified Services
Fusionary Media - http://www.fusionary.com
Weblog - http://blog.jackbaty.com
Hello,
I upgraded last week TextMate to the latest version (1.b12) which was
the first with the new syntax coloring engine I tried. And I really
have speed problems with it. When I scroll down, it may take 2-3
seconds before updating the text display, which is really painful.
My computer is a 800 MHz iBook G4 with 640 MB of RAM. Yes, it's not
top notch but I think TextMate should be able to work at a decent
speed. I'm pretty sure the previous version did not have this problem.
Does anyone else has any speed problem with the latest beta ?
Cheers,
Vincent Isambart
howdy,
i've been sort of out of the loop lately with the textmate
progressions and have been using b4 for quite a while. i updated
yesterday to b12 and copied all my bundles i wanted over, but seem to
be having trouble getting one i have (Velocity, for VTL) to work at
all. would anyone out there like to help me figure out what's wrong if
it send it?
thanx in advance...
- jamal
I've downloaded and installed 1.1b12. Seeing that the list of
languages was rather skimpy (in particular, no Perl or Python), I
followed the instructions on the TM Wiki to checkout the complete set
of bundles from the Subversion repository. They are now sitting in /
Library/Application\ Support/TextMate. Also following the Wiki's
suggestion, I trashed the Bundles folder in the TextMate.app package.
Upon restarting TM, I see more languages in the View/Language
submenu, but not nearly as many as there are tmbundles in the Bundles
folder. I certainly don't need most of them, but I'd like to know why
they're not showing up.
Also, is it appropriate to trash the Settings and Support folders in
TextMate.app now that I have copies in /Library/Application\ Support/
TextMate?
--
Mark Lawrence
I get
U Bundles/markdown.tmbundle/Syntaxes/Markdown.plist
U Bundles/SQL.tmbundle/Commands/runSQL.plist
U Bundles/Defaults.tmbundle/info.plist
U Bundles/Python.tmbundle/Commands/pydoc.plist
U Bundles/Python.tmbundle/Commands/Python.plist
U Bundles/Python.tmbundle/info.plist
U Bundles/Python.tmbundle/Syntaxes/Python.plist
U Bundles/Ruby.tmbundle/Syntaxes/Ruby.plist
U Bundles/PHP.tmbundle/Syntaxes/PHP.plist
U Bundles/Objective-C.tmbundle/Commands/Lookup Cocoa Class.plist
D Bundles/LanguageDefinition.tmbundle/Tools/plist.bundle
U Bundles/LanguageDefinition.tmbundle/Tools/list_shortcuts.rb
U Bundles/LanguageDefinition.tmbundle/Commands/Restart TextMate.plist
U Bundles/LanguageDefinition.tmbundle/Commands/Show Keyboard
Shortcuts.plist
U Bundles/LanguageDefinition.tmbundle/Syntaxes/LanguageDefinition.plist
U Bundles/Logtalk.tmbundle/Syntaxes/Logtalk.plist
U Bundles/Subversion.tmbundle/Tools/svn_commit.rb
U Bundles/Subversion.tmbundle/Tools/format_info.rb
A Bundles/Subversion.tmbundle/Tools/svn_diff.sh
U Bundles/Subversion.tmbundle/Tools/format_blame.rb
U Bundles/Subversion.tmbundle/Tools/format_log.rb
U Bundles/Subversion.tmbundle/Tools/format_status.rb
U Bundles/Subversion.tmbundle/Commands/Revert.plist
U Bundles/Subversion.tmbundle/Commands/Commit.plist
subversion/libsvn_subr/utf.c:363: (apr_err=22)
svn: Can't recode string
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
Hi all
Hope this hasn't been covered (couldn't find it)
Using the 'All Halloween' theme, I cannot find where to change the
mustard yellow highlight on the current line. It makes everything
very hard to read ... can anyone help?
I have no idea what scope it corresponds to , or whether it's even
determined by scope ...
cheers
D
hi
I don't know who's responsible for the LaTeX bundle, so I'm writing
about it here. There are some issues in which I think it should be
improved.
In particular, there's a problem with using " characters. I don't
think there are any " delimited strings in LaTeX, but instead " is
used to denote umlauts in German texts (e.g. to get ä you type "a).
So, whenever I use an umlaut the syntax highlighting doesn't work
anymore until the next umlaut because TM marks the text in between as
being in the invalid.string.latex scope. This IMHO serves no useful
purpose at all but nevertheless breaks the syntax highlighting. Could
anyone please fix this?
I'd also like to have a scope representing environments. So you could
e.g. mark environments (something between and including \begin{} …
\end{}) with a special background setting to distinguish them from
the surrounding text.
If I have another idea I'll write about it here.
--
bye, Frank!
First of all this is not an e-mail meant to boost my ego, but rather
to sing the praises of a great app and the fantastic possibilities
within it.
Secondly, even though you might not have a real use for this bundle
in your normal work, I still think that you should have a look and
give it a try because I'm hoping that this will spur us all into
making our coding experience in TM even better.
OK, so what is this about then ?
PHPCodeCompletion (PHPCC) with all the relevant info available here
[ http://www.imediatec.co.uk/tm/phpcc/ ] including a download of the
latest version (1.0b3) of the bundle.
Is coding php with PHPCC better than without ? YES !!!
Is PHPCC perfect ? Hell NO !
Is PHPCC missing features ? YES !
Is PHPCC finished ? NO! far from it I would say.
So grab the download, give it a try and help me improve it further.
And even if you don't care about PHP or PHPCC please have a look and
a think about how we could create a generic, easy-to-use, easy-to-
implement framework that would allow us to implement similar stuff in
every (?) other TM language.
Please keep the constructive feedback going.
Big thanks goes to:
-- Allan for his help, support and fantastic work in creating a great
app;
-- Ian Ardes for his original idea & work;
-- max13, Lfe, joakim and others on the #textmate IRC
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
Hello :)
I would like to use TM starting from tin (Unix Newsreader)
but with the following parameters: a number of columns 72
and encoding Iso Latin-1. Is it possible to call TM with
specific options?
Alain Matthes
I'm running 1.1b5 at the moment, but I'd like to try out the
unofficial betas (I believe 1.1b12 is the latest?).
How can I do that?
Thanks
-Rob
--
------------------------------------------------------
Follow the truth wherever it leads
http://www.robhulme.com/http://robhu.livejournal.com/
At first glance, the new PHPCC works as advertised. Nice!
You asked for wishes, so here goes:
- what about custom functions? I'd love to get code completion for
functions not defined in the current file. In an ideal world, TM would
scan through the Project and use all those functions for code
completion, including snippits. Somewhat less ideal but still cool would
be a way for us to define custom PHP function signatures, like the old
phpcc had.
-moshe
Allan,
Is there a way for a user to allow the smart typing to replace with
padding vs. no padding.
ie:
( hasPadding )
[ hasPadding ]
(hasNoPadding)
[hasNoPadding]
Regards
hi there,
every now and then i encounter some conflicts in my work with
subversion and currently it's the only operation i cannot entirely
manage from within TM (which is real shame, because the actual
process of resolving the conflict has gotten a lot easier through TM
and the diff-coloring!)
here's hoping ;-)
tom
p.s. the new cocoa status report is neat!
--
Tom Lazar
http://tomster.org
Hi all-
So I finally took a moment and caught up with the latest beta and svn
bundles, very nice! Might there soon be an "official" beta linked from
the main site for those not paying close attention [like myself] but
still using TM daily?
Anyways, I know this is an often-discussed topic, but I missed it - is
the symbol popup and the other options that pop up windows with
symbols/functions the final form of the much-requested
function/method/symbol menus? At the risk of sounding whiny, I hope not
:-(
And I'll refrain from the asking the split-window question. oops! ;-)
Everything else is looking sweet!
--
________________________________
toddgrimason*todd[ at ]slack.net
Hi, folks,
Sorry for the newbie-ish question after all of the advanced discussion
regarding Subversion, etc....
Is there any way to eliminate the border (lines at the top and bottom
of the page) while printing? It's a bit distracting when poring over
pages of source code.
I was able to get rid of the other header information (date, etc., and
what appeared to be part of a Unix fortune), but those lines are the
last bit left to get rid of.
Thanks in advance,
Mike
Any chance we could get a "New from template..." added to the file
menu? I like the templates but I don't always want to make a new
project to use them.
- Juan
I am just posting this here for the heck of it.
I just updated to b9 with the latest bundles via svn and I just gotta
say WOW. The new theme support is outstanding. Although it doesn't
quite make sense to me yet, how to navigate those features and even
create my own theme, but it looks so much better!!!
This is the first time I would call a text editor "fun." That's how
great this is! Everything about it shines, it's so much better even
than the b5 I was using with the older bundles...
Just two brief comments:
1. The folding keystrokes are great but it doesn't make sense the way
it works. folding to level two, it seems, should logically fold TO
level two, not just at that level. Meaning, if you fold to level two,
then fold to level one, if you "unfold" level one it seems odd that
level two is still folded! I can't think of a logical reason for it
to work this way... just my 2cents...
2. I can't figure out the keystrokes to switch between tabs but it
seems like they should be the same as Safari if possible....
Keep up the great work. This is in my top five favorite Mac apps, I
can't imagine programming without it anymore!!!
Kindest regards,
Raymond