The ruby regexp highlighting works much better now, but still gets
confused by something like:
%r{hel{2,10}o}
(The highlighting stops at the first "}").
Adding this:
{ name = "Arbitrary repetition"; match = "({\\d+(,\d+)?})";
foregroundColor = "#CCCC33"; }
to the Regular Expression II set in Ruby.plist appears to sort this.
Doesn't work if you have a regexp like this though:
%r{foo\{2,10}
Admittedly it's a bit of an extreme edge case, but if someone with
better regexp skillz feels like figuring it out...
(Note: I don't subscribe to this list, but do check the archives every
so often.)
- Peter
I just tried to delete a file by dragging it from the Project Drawer to
the Trash. It didn't work.
Is that an absent feature or an unrealistic expectation?
drew.
I don't know if TM now sucks less for germans but when I press
alt-shift-L to select the current line, I get a fl ligature character
instead :-p.
--
Sune.
"Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn"
http://cyanite.org -- Content follows ;-).
hi,
when scrolling horizontally a 'non wrapped' document the gutter scrolls
with the text.
has it been already mentioned ?
it's quite annoying cause scrolling to the right means loosing
bookmarks, folding and line numbers....
if it's not a bug , why such a design choice?
thanks
this text editor is becoming THE TEXT editor on macosx....way cool
There currently is no way to define foldingstopmarkers for these things.
Allan informed me that he is planning to rewrite the folding code so that
it is possible to fold these things.
Jeroen.
PS. Please don't use reply on a message to start a new thread. It messes
up the threading display in clients that support it.
Hi All,
I'm trying to create a new command to submit current file to W3C
html validator. This one does not work :
open http://validator.w3.org/check/$TM_FILEPATH
Of cours I could install the validator directly in MacOS X as
<http://developer.apple.com/internet/opensource/validator.html> but the
first way seemed easier.
Any idea?
Have a nice day,
--
Jo <W:00°04'37" ; N:47°15'36">
1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72
OK, I might be opening my mouth and removing all doubts about my
stupidity here, but I can't think of a solution to this problem, so
here goes..
I have a project in the following location: [
/Users/mats/Sites/projectName/ ]
In my template I use Custom Shell variables to auto-enter the relevant
info.
The "TM_FILEPATH" returns: [
/Volumes/WorkDisk/Users/mats/Sites/projectName/index.php ]
*but* I would prefer to have: [ /projectName/index.php ]
in other words remove [ /Volumes/WorkDisk/Users/mats/Sites ] from the
TM_FILEPATH or alternatively create a new shell variable with this
info only.
I guess that I would use some form of 'grep' and remove the bits that I
don't want, but I can't work out how.
Any help would be greatly appreciated.
Kind regards,
Mats
A few Find&Replace problems:
1. If you Replace and Find without a prior Find, it will just insert
the replace text at the carret. This could be a feature, but I think it
would be better if it just did a Find in that case instead.
2. When a window is outof focus, selection highlighting is dimmed. This
makes it _very_ hard to see where Find has found a particular word
since the Find window is the active one during F&R.
--
Sune.
"Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn"
http://cyanite.org -- Content follows ;-).
I'm on a 17" PB @ 1 GHz with 1 GB of RAM, running a few apps (mozilla, a
dozen iTerm, Mail.app, X, iTunes and TM). In my current project I have 9
open files (a few hundred lines of Ruby total) and switching from file to
file take a noticable amount of time. Am I the only one?
--
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto(a)keltia.freenix.fr
Darwin snuadh.freenix.org Kernel Version 7.5.0: Wed May 12 16:58:24 PDT 2004
On Oct 19, 2004, at 12:11, Allan Odgaard wrote:
>> Here's a really wacky feature request: a way to specify an argument
>> to the command each time I run it. When I'm developing, sometimes I
>> want to run "make" then "make set-up-test-data" then "make test", or
>> do things in a different order.
>
> I think this will be possible when I introduce project-specific shell
> variables, as requested by Ivan (IIRC).
In a very spooky coincidence I was just writing an e-mail with this
feature request when the above appeared in my inbox. : )
So here's my take on project-specific shell variables. As a web
developer I have a number of current projects on the go in my ~Sites
folder. For each project I have a number of variables that are common
and would ideally be possible to collect and auto-enter into new files
or Macros.
Examples:
Project Dev URL: (local desktop URL)
Project Live URL:
ClientName:
Development Version:
etc etc.
So I was thinking that we could have the following section in the
.tmproj file, (which is a .plist file really):
<key>ProjectShellVariables</key>
<dict>
<key>TM_PROJECT_CLIENTNAME</key>
<string>MacroMates.</string>
<key>TM_PROJECT_VERSION</key>
<string>1.0</string>
<key>TM_PROJECT_LIVEURL</key>
<string>http://www.macromates.com/</string>
<key> TM_PROJECT_DEVURL</key>
<string>http://macromates.dev/</string>
</dict>
Later on there could be a GUI for this functionality as well - sort of
a copy of Macros/Snippets/Commands window -, but to begin with we could
open the .tmproj file in TM / Property List Editor and add/change our
own variables.
If these variables could be accessed in Snippets, Commands and when
creating new files as well it would be even greater.
Also if the .tmproj file could remember the toggled state of
groups/directories inside the project drawer when closing the project
it would be great as well.
Kind regards,
Mats