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