http://bradchoate.com/downloads/Movable%20Type.tmbundle.zip
Features:
* Syntax highlighting for MT templates
* Scope of MT container tags: entity.name.tag.mt, scope of MT
variable tags: variable.other.mt
* Common MT 3.2 default templates provided as new file templates
* A couple of snippets
* A context-sensitive help command for MT tags
This is my first bundle, so I'm still learning, but I'm very
impressed with what you can do with TextMate bundles. This is the
kind of power I've been looking for in an editor. Feedback is most
welcome.
A few questions:
- MT templates are usually HTML based templates, so I invoke the
HTML bundle rules too-- however, some MT tags aren't syntax
highlighted properly since they're really "embedded" in the HTML
syntax. For example:
<tag><$MTTag$></tag>
That's no problem. But this isn't processed right:
<tag attribute="<$MTTag$>">
The embedded mt tag is never seen. Is there a way to handle this
without modifying the HTML bundle itself?
- When you create a new file using one of the supplied MT file
templates, the syntax mode is left as HTML, not Movable Type. Is
there a way to force the Movable Type syntax?
- I wish it were more obvious how to customize the colors for the MT
tags. The user has to set these up manually. If TextMate were to
scan for available scopes and at least list them as inactive in the
color preferences tab, that would be phenomenal.
- What on earth is the key to use for the TextMate "Edit in
TextMate" service? It looks like Command + A caret with a bar on top
of it. What is that key? I also can't make out the key shown for
Ruby's "embed string variable" snippet. Or the key to use for the
"Web Searches" bundle.
Thanks!
-Brad
Good day all,
First, I really like the drawer; please Allan don't do anything bad
to it.
I would like it even more if there were a way to filter the drawer
listing. Most practical and useful to me would be an ability to
create a list of file types and folder names to either include or
exclude from view in the drawer.
Beyond Compare (a regrettably windows only directory & file compare
app) does this by means of a list as mentioned above. You are also
offered the possibility of filtering by various dates as well as file
attributes. Please see attached screen shot.

Does anyone know of a way to do something like this with TextMate's
current state?
Thanks,
Matt Erker
Web Developer
TOKY Branding + Design
3139 Olive Street
Saint Louis, Missouri 63103
314.534.2000
Hi all,
I was exploring a little bit and changed the activation on one of my
snippets from Tab Trigger to Key Equivalent. I have done
*everything* I can think of to change it back, but the change won't
stick. I go into the Edit Snippets dialog, find my snippet, select
Tab Trigger, and close the dialog and quit the program completely.
When I come back, it's still on Key Equivalent.
Is there some trick to this that I'm missing?
Thanks a bunch,
bryan thompson
On 29/11/2005, at 21:45, Nicholas Orr wrote:
> <?xml version="1.0" encoding="UTF-16"?>
That's the problem. This will make xmllint (used by the Tidy command)
return the result as utf-16, but TextMate expects it to be utf-8, and
so it'll show up wrong.
There's a few options:
1) convert the files from a script instead
2) change to "UTF-8" (remember to convert the files to utf-8 as
well, if they're currently in utf-16 format)
3) change the “xmllint --format -” line to “xmllint --format -|
iconv -f ucs-2 -t utf-8” in the Tidy command (Bundle Editor -> Show
Bundle Editor -> XML -> Tidy).
Since it sounds like you have a lot of files to convert, option 1 has
advantages in itself over manually selecting Tidy from TM.
Personally I'd use a script, but also let the script convert the
files to utf-8 (utf-8 is generally a better encoding than utf-16, and
while my reference to this is vague, I think part of the Unicode
consortium do see utf-16 as legacy, especially now that it no longer
has a 1:1 mapping to unicode code points (because of ucs-4)).
I have nothing against emacs -- I like it and use it a lot, in fact --
but I had to laugh when i followed a Google URL in my referrer log and
discovered that the current top Google result for these words
emacs markdown integration
is a blog posting of mine about TextMate!
pb
--
Paul Bissex
http://e-scribe.com/news/
Northampton MA USA 01061-0847
Hi,
I tried to get fancy / tweak the php run command, but in the proccess
I broke it.
I have a machine on our network that I have mounted as a shared
drive. I'm trying to define a variable for the project that is its url
and then changa the run command (modeled after lookup keyword), to be:
exit_show_html "<meta http-equiv='Refresh'
content='0;URL=$TM_PROJ_URL/$TM_FILEPATH
The problem is that filepath is full.
Any ideas?
--
dc
-----
David Clark
Web Specialist
Institute for Community Inclusion (http://www.communityinclusion.org/)
david.clark(a)umb.edu
(617) 287-4318
nice, this works great. thank you very much!!
On 11/30/05, Charilaos Skiadas <cskiadas(a)uchicago.edu> wrote:
>
> On Nov 30, 2005, at 3:54 PM, Jamal Johnson wrote:
>
>
> > i've taken a look and to be honest i'm terrible with regexp's and
> > could use some help. i'm trying to define a way to see objects in a
> > certain format in my JS files:
> >
> > var CustomObject = Class.create();
> > CustomObject.prototype = Object.extend( (new ViewObject()), {
> > member1 : true,
> > member2 : "someString",
> > member3 : "anotherString",
> >
> > someFunction : function(){
> > //doSomething
> > },
> >
> > someOtherFunction : function(){
> >
> > }
> > };
> >
> > so then in the tmCodeBrowser i'd see something like:
> > Objects
> > - CustomObject
> > - member1
> > - member2
> > - member3
> > - someFunction
> > - someOtherFunction etc....
> >
> > something along those lines anyway. can one of you point me in a
> > starting direction for howto setup the .ctags.tmcodebrowser file to
> > do this for javascript files?
> >
>
> Try adding this to .ctags.tmcodebrowser
>
> --langdef=javascript
> --langmap=javascript:.js
> --regex-javascript=/^(.*).prototype *= *(.*)/-\1/o,object/
> --regex-javascript=/^[ \t]*(.*) *: (([^f]*)|(f[^u]*)|(fu[^n]*))[\t]*
> $/---var: \1/o,object/
> --regex-javascript=/^[ \t]*(.*) *: *function/---fun: \1/o,object/
>
> This might do something close to what you want. Just make sure to not
> ask TmCodeBrowser to sort things. With the simple regexp additions,
> you cannot recognize things in multiple lines, so there is no way of
> grouping the variable and function definitions with a particular
> object, this way at least visually they will be close to what you want.
>
> I believe that if one really wants to, one can write a parser and add
> it to the ctags source code and recompile, that is provided that Gerd
> Knops provides you the source code, or is willing to add the parser
> ofr you. I am guessing someone out there has already written a parser
> for javascript that maybe does what you want it to better, but I
> wouldn't know anything about it.
>
> I was under the impression that tmcodebrowser supported actionscript,
> which might be close to what you want, but I couldn't find it in
> the .ctags.tmcodebrowser format.
>
> Haris
>
>
On Nov 30, 2005, at 3:54 PM, Jamal Johnson wrote:
> i've taken a look and to be honest i'm terrible with regexp's and
> could use some help. i'm trying to define a way to see objects in a
> certain format in my JS files:
>
> var CustomObject = Class.create();
> CustomObject.prototype = Object.extend( (new ViewObject()), {
> member1 : true,
> member2 : "someString",
> member3 : "anotherString",
>
> someFunction : function(){
> //doSomething
> },
>
> someOtherFunction : function(){
>
> }
> };
>
> so then in the tmCodeBrowser i'd see something like:
> Objects
> - CustomObject
> - member1
> - member2
> - member3
> - someFunction
> - someOtherFunction etc....
>
> something along those lines anyway. can one of you point me in a
> starting direction for howto setup the .ctags.tmcodebrowser file to
> do this for javascript files?
>
>
Try adding this to .ctags.tmcodebrowser
--langdef=javascript
--langmap=javascript:.js
--regex-javascript=/^(.*).prototype *= *(.*)/-\1/o,object/
--regex-javascript=/^[ \t]*(.*) *: (([^f]*)|(f[^u]*)|(fu[^n]*))[\t]*
$/---var: \1/o,object/
--regex-javascript=/^[ \t]*(.*) *: *function/---fun: \1/o,object/
This might do something close to what you want. Just make sure to not
ask TmCodeBrowser to sort things. With the simple regexp additions,
you cannot recognize things in multiple lines, so there is no way of
grouping the variable and function definitions with a particular
object, this way at least visually they will be close to what you want.
I believe that if one really wants to, one can write a parser and add
it to the ctags source code and recompile, that is provided that Gerd
Knops provides you the source code, or is willing to add the parser
ofr you. I am guessing someone out there has already written a parser
for javascript that maybe does what you want it to better, but I
wouldn't know anything about it.
I was under the impression that tmcodebrowser supported actionscript,
which might be close to what you want, but I couldn't find it in
the .ctags.tmcodebrowser format.
Haris
is there some sort of control over the symbol selector (dropdown on
the lower right in files such as javascript that allow you to 'jump'
to functions)?
> From: Jay Soffian <jay(a)soffian.org>
>
>> Finally, pycheckmate didn't work for me. The first reason had
>> something to do with using a specific Python installation, rather
>> than the environment Python.
>
> Not sure what this is referring to. pycheckmate.py should work fine
> with /usr/bin/python. At least, it does on the systems I've tested
> it on.
>
>> I fixed that, and then the second problem was that the custom
>> popen relied on poll, which wasn't included in the framework
>> Python build.
>
> Yep, that was an oversight and the latest version I sent you uses
> select intead.
>
>> I am using ActiveState's Python2.4, so I got rid of the
>> customization of the standard library class. The general approach
>> I took probably would let you use some of the 2.3 popens too, and
>> get rid of maintaining that extra bit of code.
>
> 2.3.5 doesn't include subprocess otherwise I would have happily
> used it.
>
>> Pycheckmate also wasn't guessing where to find an installed
>> pychecker very well--I guess the intent was that you were supposed
>> to configure the environment variable in TextMate. That seemed
>> unnecessary for the common case of installing via distutils. I
>> fixed that at the start of the attached file--a bit of a hack,
>> maybe, but nicer first-use experience.
>
> I've already fixed this in the latest version I sent you. The
> contributor must have been looking at the previous version.
looks like it was my fault :)
> Please forward this back to the original sender. :-)
>
> j.
Hi. I liked TextMate but it wasn't quite ready for me. I'll check
back in on it in 2006 sometime and see how it's doing then.
In the course of my evaluation, I changed some settings to try and
get closer to what I expected. I gave up when I discovered that the
current approach to code folding (finding code block ends,
specifically) was apparently fundamentally incompatible with Python.
However, I thought some of my changes might be worth reincorporating
in your product. Some of them are arguably preferences, and others
have odd dependencies, but they are at least worth a look.
First, I added an increaseIndent that increases indent on an open
parenthesis:
/* preferences */
{ increaseIndentPattern = '^\s*(class|def|elif|else|except|finally|
for|if|try|while)\b.*:|^.*\(\s*$';
shellVariables = (
{ name = 'TM_COMMENT_START';
value = '# ';
},
{ name = 'TM_COMMENT_END';
value = '';
},
{ name = 'TM_COMMENT_MODE';
value = 'line';
},
);
}
That's pretty standard Python style. I was also curious to see if I
could make a line break inside a parenthesis autoindent to the open
parenthesis, but didn't see a way to do that.
Second, the foldingStartMarker probably should include `if` and
`for`, and maybe even some others...I didn't bother thinking about it
once I got into a seeming dead end with the foldingStopMarker. That
said, here's a little improvement in this part of the parsing.
foldingStartMarker = '^\s*(if|for|def|class)\s+([.a-zA-Z0-9_ b]+)\s*
(\((.*)\))?\s*:|\{\s*$|\(\s*$|\[\s*$';
Finally, pycheckmate didn't work for me. The first reason had
something to do with using a specific Python installation, rather
than the environment Python. I fixed that, and then the second
problem was that the custom popen relied on poll, which wasn't
included in the framework Python build. I am using ActiveState's
Python2.4, so I got rid of the customization of the standard library
class. The general approach I took probably would let you use some
of the 2.3 popens too, and get rid of maintaining that extra bit of
code.
Pycheckmate also wasn't guessing where to find an installed pychecker
very well--I guess the intent was that you were supposed to configure
the environment variable in TextMate. That seemed unnecessary for
the common case of installing via distutils. I fixed that at the
start of the attached file--a bit of a hack, maybe, but nicer first-
use experience.
Hope some of that is helpful.
Gary
Hello.
I know the mac isn't really the most popular platform to develop for
windows.
But...
Does anyone here use textMate to develop ASP VB.NET code?
Is there a VisualBasic language module other than the ASP bundle?
Is anyone working on an ASP.NET bundle?
If I made an ASP.NET bundle, would anyone use it?
What are the requirements for submitting a new bundle to the official
deal?
I don't have a lot of time to work on this stuff, but over the past
year i've cobbled together a usable asp.net bundle from the asp
language (as it existed at the time)
I had to modify the HTML language module to get it to work properly.
Recently I just made a copy of my custom HTML for asp.net language
and updated my html bundle to the latest svn checkout so that I could
use it with ruby. (they both use the <% %> syntax for code in html)
I havn't been able to figure out how to overwrite rules properly.
I want to update my asp.net language to use the latest HTML bundle,
but I need to force it to understand my ASP instead of ruby or the
normal asp, without modifying the HTML bundle.
In CSS, you can force importance by using the !important keyword.
I'd like to be able to do something similar with scope definition. I
want to select the ASP VB.net (HTML) language, and it import the
entire HTML bundle & say, import everything in the HTML language,
except, everything within <%%> & <tag runat="server">...</tag> ,
don't let the HTML language mess with that stuff, no matter where it
is in the code.
I havn't gotten any sleep lately, i'm probably blithering
I'm running r790 and can't seem to find the PHPDoc snippets that used
to be included. I know I saw them there last week. Were they
intentionally removed?
Thanks,
Bryce
The symbol list has never worked for me -- nothing ever shows up in
it, whether I'm working in Python, PHP, HTML, Markdown, etc. Same for
the "Go To Symbol" popup. Always empty.
I've tried deleting my preferences file. No change.
I'm running build 790 with a current repository checkout of bundles.
OS X 10.4.3.
Am I missing something obvious?
thanks
pb
--
Paul Bissex
http://e-scribe.com/news/
Northampton MA USA 01061-0847
I'm trying to find a good text editor for editing very large XML
files (40,000 plus lines). I've got BBEdit, but when I saw the code
folding thing that TextMate does I almost bought a copy on the spot.
But I've had trouble getting the tidy to work in TextMate. The
default XML - Tidy command just adds spaces between every single
character in the file.
Does anyone know enough about Tidy to give me some advice about
this? From my reading on the web, I'd need to have a separate
command to do output reflowed xml.
Thanks,
Nick
howdy,
i know there used to be a global default fold level you could set and it was
pulled due to issues. that was a long time ago however. is there a bundle
level default fold level these days? or even a global one again?
thanx...
Hi,
I was looking earlier on at a video some guy did of a VIM macro he'd
written that could turn:
object.method { |x| op( x ) }
into
object.method do |x|
op( x )
end
and back again. At the time I didn't think much of it and now of
course I find myself wanting to do it.
I thought for a few minutes about how you might achieve this in TxMt
and then realised I didn't have the first clue. I tried recording a
macro but of course it would only work for the simple case, as soon as
I did:
object.meth2 { |x,y| op(x,y) }
it broke.
Can this (and/or the inverse) be done with a simple recordable macro?
Regards,
Matt
--
Matt Mower :: http://matt.blogs.it/
@tek theme author:
Why no announcment on the mailing list, and why no credits to yourself?
I also really like the colours, but they're a bit to "bland" to be of
use as a general theme, it'd be cool to see them shifted around a bit
and create a useful theme ... :)
Andreas
hi.
question to Allan - how hard would it be to provide an applet / hook
that gives an option to Edit File In Textmate in the context menu?
sure, there's Open With, but it's suboptimal most of the time and
you're a smart guy so i thought I'd ask.
cheers,
David
> question to Allan - how hard would it be to provide an applet /
> hook that gives an option to Edit File In Textmate in the context
> menu? sure, there's Open With, but it's suboptimal most of the
> time and you're a smart guy so i thought I'd ask.download onmycommand
> and omcedit (google them for links) and make a new context menu
> action:
Name: Open with TxMt
Location: First Level
Execution Mode: Silent
Command: mate __OBJ_PATH__
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
Anyone here use or has used TypeIt4Me? I loved the idea while it worked
on my machine, but after 5 minutes it disappeared from my menu bar and
the developer is not responsive. Basically every time you press a space
it scans a list of abbreviations and expands the text if it finds a
match. Is this something I could do in tm with a command?
- Ben
intrigued by its accompanying commit-messages I was curious to try
out the newly surfaced Storehouse plugin from the Themes repository -
however, I must admit, that I can't figure out, how to use and/or
install it.
since it's just displayed as a folder in the finder double clicking
doesn't help and dragging it onto TM just opens it as a project (but
without a README etc.)
anybody care to enlighten me/the list on this matter? thanks!
curious in Berlin,
tom
Easy one...
When I copy and paste code from my Agile Rails PDF file, the
indentation gets totally lost and looks like this:
===========================
<h1>Display Cart</h1>
<table>
<%
for item in @items
product = item.product
-%>
<tr>
<td><%= item.quantity %></td>
<td><%= h(product.title) %></td>
<td align="right"><%= item.unit_price %></td>
<td align="right"><%= item.unit_price * item.quantity %></td>
</tr>
<% end -%>
</table>
===========================
Is there an easy way to indent my code? I tried using tidy but it
likes to convert my special chars into HTML entities which ruins my
Ruby code.
Any solution?
Sean
:::: DataFly.Net ::::
Complete Web Services
http://www.datafly.net
I think the clipboard managing in TM is the best I've seen, I'd love
to have a simmilar thing system wide. The closest I've found is KoolClip
http://kudang.com/koolclip/welcome.html
which as far as I can tell is actually freeware.
Any other tips?
Andreas
by SystemMailbox{3CC00CFB-F2D0-40E7-A97E-9CCFC54BF4ED}
----- Original Message Header -----
Subject: [TxMt] wanker alert
From: blalor(a)bravo5.org;
To: textmate(a)lists.macromates.com;
Cc:
-----------------------------------
Warning: Attachment contains virus code or meets the filtering/blocking rules. Use caution when accessing the contents.
by SystemMailbox{3CC00CFB-F2D0-40E7-A97E-9CCFC54BF4ED}
----- Original Message Header -----
Subject: [TxMt] wanker alert
From: blalor(a)bravo5.org;
To: textmate(a)lists.macromates.com;
Cc:
-----------------------------------
Warning: Attachment contains virus code or meets the filtering/blocking rules. Use caution when accessing the contents.
by SystemMailbox{3CC00CFB-F2D0-40E7-A97E-9CCFC54BF4ED}
----- Original Message Header -----
Subject: Re: [TxMt] wanker alert
From: textmate-bounces(a)lists.macromates.com;
To: textmate(a)lists.macromates.com;
Cc:
-----------------------------------
Warning: Attachment contains virus code or meets the filtering/blocking rules. Use caution when accessing the contents.
by SystemMailbox{3CC00CFB-F2D0-40E7-A97E-9CCFC54BF4ED}
----- Original Message Header -----
Subject: Re: [TxMt] wanker alert
From: jeroen(a)je-ju.net;
To: textmate(a)lists.macromates.com;
Cc:
-----------------------------------
Warning: Attachment contains virus code or meets the filtering/blocking rules. Use caution when accessing the contents.
by SystemMailbox{3CC00CFB-F2D0-40E7-A97E-9CCFC54BF4ED}
----- Original Message Header -----
Subject: Re: [TxMt] wanker alert
From: jeroen(a)je-ju.net;
To: textmate(a)lists.macromates.com;
Cc:
-----------------------------------
Warning: Attachment contains virus code or meets the filtering/blocking rules. Use caution when accessing the contents.
by SystemMailbox{3CC00CFB-F2D0-40E7-A97E-9CCFC54BF4ED}
----- Original Message Header -----
Subject: Re: [TxMt] wanker alert
From: blalor(a)bravo5.org;
To: textmate(a)lists.macromates.com;
Cc:
-----------------------------------
Warning: Attachment contains virus code or meets the filtering/blocking rules. Use caution when accessing the contents.
by SystemMailbox{3CC00CFB-F2D0-40E7-A97E-9CCFC54BF4ED}
----- Original Message Header -----
Subject: Re: [TxMt] wanker alert
From: domenico.carbotta(a)fastwebnet.it;
To: textmate(a)lists.macromates.com;
Cc:
-----------------------------------
Warning: Attachment contains virus code or meets the filtering/blocking rules. Use caution when accessing the contents.
by SystemMailbox{3CC00CFB-F2D0-40E7-A97E-9CCFC54BF4ED}
----- Original Message Header -----
Subject: Re: [TxMt] wanker alert
From: domenico.carbotta(a)fastwebnet.it;
To: textmate(a)lists.macromates.com;
Cc:
-----------------------------------
Warning: Attachment contains virus code or meets the filtering/blocking rules. Use caution when accessing the contents.
by SystemMailbox{3CC00CFB-F2D0-40E7-A97E-9CCFC54BF4ED}
----- Original Message Header -----
Subject: Re: [TxMt] wanker alert
From: blalor(a)bravo5.org;
To: textmate(a)lists.macromates.com;
Cc:
-----------------------------------
Warning: Attachment contains virus code or meets the filtering/blocking rules. Use caution when accessing the contents.
by SystemMailbox{3CC00CFB-F2D0-40E7-A97E-9CCFC54BF4ED}
----- Original Message Header -----
Subject: Re: [TxMt] wanker alert
From: matt2(a)makalumedia.com;
To: textmate(a)lists.macromates.com;
Cc:
-----------------------------------
Warning: Attachment contains virus code or meets the filtering/blocking rules. Use caution when accessing the contents.
by SystemMailbox{3CC00CFB-F2D0-40E7-A97E-9CCFC54BF4ED}
----- Original Message Header -----
Subject: Re: [TxMt] wanker alert
From: matt2(a)makalumedia.com;
To: textmate(a)lists.macromates.com;
Cc:
-----------------------------------
Warning: Attachment contains virus code or meets the filtering/blocking rules. Use caution when accessing the contents.
by SystemMailbox{3CC00CFB-F2D0-40E7-A97E-9CCFC54BF4ED}
----- Original Message Header -----
Subject: Re: [TxMt] wanker alert
From: paul.bissex(a)gmail.com;
To: textmate(a)lists.macromates.com;
Cc:
-----------------------------------
Warning: Attachment contains virus code or meets the filtering/blocking rules. Use caution when accessing the contents.
by SystemMailbox{3CC00CFB-F2D0-40E7-A97E-9CCFC54BF4ED}
----- Original Message Header -----
Subject: Re: [TxMt] wanker alert
From: textmate-bounces(a)lists.macromates.com;
To: textmate(a)lists.macromates.com;
Cc:
-----------------------------------
Warning: Attachment contains virus code or meets the filtering/blocking rules. Use caution when accessing the contents.
by SystemMailbox{3CC00CFB-F2D0-40E7-A97E-9CCFC54BF4ED}
----- Original Message Header -----
Subject: Re: [TxMt] wanker alert
From: paul.bissex(a)gmail.com;
To: textmate(a)lists.macromates.com;
Cc:
-----------------------------------
Warning: Attachment contains virus code or meets the filtering/blocking rules. Use caution when accessing the contents.
by SystemMailbox{3CC00CFB-F2D0-40E7-A97E-9CCFC54BF4ED}
----- Original Message Header -----
Subject:
From: textmate-bounces(a)lists.macromates.com;
To: textmate(a)lists.macromates.com;
Cc:
-----------------------------------
Warning: Attachment contains virus code or meets the filtering/blocking rules. Use caution when accessing the contents.
by SystemMailbox{3CC00CFB-F2D0-40E7-A97E-9CCFC54BF4ED}
----- Original Message Header -----
Subject: Re: [TxMt] Ditch the drawer
From: cfeldmann(a)gmail.com;
To: textmate(a)lists.macromates.com;
Cc:
-----------------------------------
Warning: Attachment contains virus code or meets the filtering/blocking rules. Use caution when accessing the contents.
by SystemMailbox{3CC00CFB-F2D0-40E7-A97E-9CCFC54BF4ED}
----- Original Message Header -----
Subject: Re: [TxMt] Ditch the drawer
From: cfeldmann(a)gmail.com;
To: textmate(a)lists.macromates.com;
Cc:
-----------------------------------
Warning: Attachment contains virus code or meets the filtering/blocking rules. Use caution when accessing the contents.
by SystemMailbox{3CC00CFB-F2D0-40E7-A97E-9CCFC54BF4ED}
----- Original Message Header -----
Subject: Re: [TxMt] Ditch the drawer
From: cdevroe(a)theubergeeks.net;
To: textmate(a)lists.macromates.com;
Cc:
-----------------------------------
Warning: Attachment contains virus code or meets the filtering/blocking rules. Use caution when accessing the contents.
by SystemMailbox{3CC00CFB-F2D0-40E7-A97E-9CCFC54BF4ED}
----- Original Message Header -----
Subject: Re: [TxMt] Ditch the drawer
From: ed(a)westernfreight.com;
To: textmate(a)lists.macromates.com;
Cc:
-----------------------------------
Warning: Attachment contains virus code or meets the filtering/blocking rules. Use caution when accessing the contents.
by SystemMailbox{3CC00CFB-F2D0-40E7-A97E-9CCFC54BF4ED}
----- Original Message Header -----
Subject:
From: textmate-bounces(a)lists.macromates.com;
To: textmate(a)lists.macromates.com;
Cc:
-----------------------------------
Warning: Attachment contains virus code or meets the filtering/blocking rules. Use caution when accessing the contents.
by SystemMailbox{3CC00CFB-F2D0-40E7-A97E-9CCFC54BF4ED}
----- Original Message Header -----
Subject: Re: [TxMt] Ditch the drawer
From: cdevroe(a)theubergeeks.net;
To: textmate(a)lists.macromates.com;
Cc:
-----------------------------------
Warning: Attachment contains virus code or meets the filtering/blocking rules. Use caution when accessing the contents.
by SystemMailbox{3CC00CFB-F2D0-40E7-A97E-9CCFC54BF4ED}
----- Original Message Header -----
Subject: Re: [TxMt] Ditch the drawer
From: ed(a)westernfreight.com;
To: textmate(a)lists.macromates.com;
Cc:
-----------------------------------
Warning: Attachment contains virus code or meets the filtering/blocking rules. Use caution when accessing the contents.
Hi.
wondering if I'm missing something, or else how I'd go about this.
in vim / emacs one can specify a 'repeat count' for input, so i could
easily insert 80 '-'s by typing (in vim) 80i-<esc>
which is far less boring than holding the key down, and maps well to
instances where a more complex repeated sequence is needed.
can we do something like this in TM, as a built-in ? I mean in the
general sense, though if there are commands to 'underline words' etc
I'm still interested in those.
cheers,
David
> I can add it to the default bundle, if this is of
> general use.
Please do :)
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
Hi.
When using a construct:
x = case x
when expr1
...
when expr2
...
else
...
end
I find that TxMt does not correctly indent after the CR after "case x"
and then de-dents after the first "when" so that:
x = case x
when...
becomes:
x = case x
when expr1
However it correctly indents when not assigning from case so that:
case x
when...
becomes:
case x
when expr1
Which seems like a bug.
M
--
Matt Mower :: http://matt.blogs.it/
I think the draw is okay. Saying that Edmundo's mock looks nice but
it's just fussing if you ask me (which you didn't :D).
I didn't make the switch to SubEthaEdit from BBEdit because it didn't
have a project draw. BBEdit v8 had a project draw that cost me more
to upgrade than Textmate cost me to buy outright.
Go Textmate and it's Draw! Infact BBEdit from memory didn't have
heriachical listings either. But that part of my memory is a bit
vauge. The pain! The pain (of developing in 3 colour syntax
highlighting).
Howdy,
I'm evaluating build r790 and chose to create the "mate" link in
~/Applications, which is already in my path when I open Terminal.app.
However, TextMate somehow requested admin privileges; I _cancelled_ and
I got back an error message: "Creating the link “/bin/mate” failed with
the following reason: Permission denied".
Am I expecting the wrong thing?
Thanks,
--
Luís Bruno
I've got PC USB keyboard connected to Mac Mini.
Using Ukelele I've remapped Context-Menu key to act as Delete (&x7f;). It
works in all applications except TextMate, which keeps opening context
menu (offering various web searches) when I press that key. Other remapped
keys work in TextMate fine.
Is that a bug/feature? Can it be fixed/disabled?
--
regards, porneL
Hi,
I noticed that the mate CL tool has a -r --recent option to add the
file to the Open Recent menu but this doesn't seem to work for me.
Am I doing something wrong? Also I would say that this should be the
default but it isn't a big deal since I can just alias mate as mate -r.
Thanks,
Jason
> Heh, I suppose I'm somewhat demanding then, even coming close to
> the mouse would be a showstopper for me.
> I used triggers though and got it all working nicely with that,
> however, it does not paste after being selected. Not even if I
> double-click the mouse. What happens is that the item gets pushed
> up to first place in the clipboard, you then manually have to paste
> it in.
> And now I have probably spent more time talking about this than
> I'll ever gain even by having the behaviour I want :)
>
> anyways, despite it's "shortcomings", this is the best clipboard
> manager I've seen (or rather, best to my tastes)
>
> Andreas
Butler <http://www.petermaurer.de/butler/> is an excellent launcher
similar to Quicksilver, and has a clipboard manager mapped to ctrl-
alt-v which shows the last 7 clipboard entries, any of which can be
pasted by pressing the corresponding number. This seems to be more
kind to the keyboard-fanatical.
(& I highly recommend Butler overall: extremely customizable, fast
and unobtrusive. Beats the hell out of using Spotlight for opening
apps, preferences, a terminal window, etc.)
Nate.
---------------------
CLIXEL Design & Coding -- http://clixel.com/
BRAINFAG Comics -- http://brainfag.com/
Hi,
I'm not sure there's anything to be done about this but I figured I
would ask anyway.
I'm using Fugu to manage a remote site via SFTP and have configured it
to invoke TextMate as my editor. This makes it quite easy to edit
files on the remote site.
However the unintended consequence is that, every time I switch away
from TxMt, it saves the remote file which is, quite often, a work in
progress.
I'm not sure there is any sense in which TxMt is aware that it is
editing a file that is being edited from a remote site but, in case
there is, would it be possible to control whether auto-save is
activated for such files?
Regards,
Matt
--
Matt Mower :: http://matt.blogs.it/
Are there any plans to ditch the drawer? I wouldn't mind the file
list working like Mail, iTunes, iPhoto or most of the newer apps
coming out lately. I don't think the Drawer works, especially for
large hierarchies and 12-inch screens - both of which I am plagued with.
Thanks,
Colin D. Devroe
I'm trying to get the Template functionality working. I have authored
a template, but when I use the New from Template... menu item, I get
the file name 'untitled', which is not what I want to use in my file.
I see that if I have a project, I can choose a template to use, but
the list is different to the one in New from Template..., and I
cannot choose my newly created template.
Is this functionality useable, or is it still in a state of flux? Am
I missing something?
Drew
---------------------------------------------------------
Drew McCormack
www.maniacalextent.com
Can anyone out there with superpowers in writing shell script help with the
following? Id like to write a command that can locate the currently selected
word as a file within the project (assuming the word is the name of a class
or some such thing) and open that file. Now I know what you¹re all saying,
just copy the selection and paste it into the ³Go To file...² window, I just
thought this might be, you know, fractionally quicker, add up all those
extra clicks and key presses and over the course of a day I might save, oh,
10 seconds or so. ;-)
I just know someone out there can do this, but the more I stare at
combinations of locate, grep, perl and whatnot the more I can feel my sanity
ebb away.
Go on, you know you want to.
Chris
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Hi,
I just noticed that my syntax highlighting seems a bit messed up.
I've attached a screenshot, you can see that the "def" isn't getting
the keyword style but, by a process of switching themes about,
appears to be getting the entity style.
I also attached screenshots of the ctrl+shift+p output for the def &
end statement to show what TxMt thinks they are.
I updated to 790 this morning, don't remember seeing this before then.
Regards,
Matt
--
Matt Mower :: http://matt.blogs.it/
>> [...] Also a command to take the selected text, add ".inspect # =>"
>> and push it to the clipboard.
>
> Have a look at Ruby -> Execute Line as Ruby (ctrl-shift E, which is
> unscoped, so it works in all contexts).
>
> It will execute the current line or selection via Ruby and insert the
> result (either using .to_s or .inspect, depending on the result type).
Yeah, but the script I linked to actually runs the program and gives
you (almost) real-time debugging while you're editing the file. Do you
have any good ruby one-liners that you use a lot?
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
I like the fact that I can have several folders each representing a
"project" within a TM Project.
However, it becomes quite confusing when editing files in a Project
set up this way.
- TurbogearsProject(group)
- Admin/
-admin/
-controllers.py
-static/
.
.
-Website/
-website/
-controllers.py
-static/
.
.
When editing the file "controllers.py" from folder Admin/admin/ and
Website/website/controllers.py there's no distinction between the two
files in the editor.
The list in cmd-T shows the files as "controllers.py - website" and
"controllers.py - admin". Is there any way I can get the same in the
file tab in the editor?
regards
/rune
---------------------------------------------------------------------
Behind the firewall, nobody can hear you scream...
Hi all,
Have downloaded the demo (1.1b17 (769)) and currently evaluate
TextMate (vs bbedit/textwrangler) against my needs. It looks like the
editor I was missing :)
Indeed I work on the support of the CLAIRE language which have
special construct that are often impossible to describe with other
editor's syntax facilities. The way TM handles languages/scopes and
other language inclusion is the best I've ever seen. I could create a
CLAIRE bundle that, for the first time, handles correctly the syntax
of CLAIRE (and, trust me, I'm not a regex guru...)!
My question is about a language description design. I tried (but
failed) to design the grammar such anything that is a valid CLAIRE
construct is described by a specific pattern and anything else falls
into the scope of 'invalid.illegal.something'. For instance, in
CLAIRE, a variable scope is introduced with a 'let' construct :
let x := 1, y := 2 in (x + y) // valid
let x := 1, y := 2 *BAD* in (x + y) // invalid : *BAD* illegal
The rule that describe the 'let' construct would look like :
let <#var-def-list> in <#any>
Which can't be described with a begin/end pattern, unless I can
reference a repository rule from whitin the begin/end pattern. Can we
do that ?
Is there a way to acheive this ?
Sylvain
I posted a bug report about TextMate basically not handling Japanese
well at all but am wondering if anyone has had problems working with
other double-byte languages or Arabic?
Cheers
Kyle
--
mobile web gear | pukupi.com | 34°40'n 135°30'e
I may simply be confused, but I just had a global find/replace
operation appear to go rather haywire on me and thought I'd ask about
it. The following values were entered in the dialog...
Find: <cfif Session.InAdminGroup IS "Yes">
Replace: <cfif Session.InAdminGroup>
"Ignore case" was checked and "Regular expression" was unchecked.
Here's what I ended up with in each replaced instance...
<cfif NOT Session.In<cfif Session.InAdminGroup>>
That doesn't seem quite right to me.
--
Jack Baty
Fusionary Media - http://www.fusionary.com
Found this util today:
http://eigenclass.org/hiki.rb?
Enhanced+xmp+code+evaluation+and+annotation
You feed it code and it puts the output in comments, i.e.
a = 5
a # =>
would return
a = 5
a # => 5
I set up a command to save and run this filter to replace the document
and bound it to F10. Also a command to take the selected text, add
".inspect # =>" and push it to the clipboard.
Anyone interested?
___________________
Ben Jackson
Diretor de Desenvolvimento
+55 (21) 9997-0593
ben(a)incomumdesign.com
http://www.incomumdesign.com
How do I add my precious KID templates to the dropdown menu in the
dialog resulting from cmd-N?
(Yes, they are present and working in the File->New from template
menu item)
regards
/rune
"Never attribute to malice what can be adequately explained by
incompetence"
Like most on this list, I love TextMate.
There are tons of useful features in it, and I keep finding new ones every date.
I just stumbled on the Cmd-T file-find the other day, in fact. I just
learned that my peeve about columnar selection was based on my
ignorance of the fact that you can toggle to columnar by hitting
Option after starting the selection. Every day, I'm pleasantly
surprised by a new feature.
However (and you knew that was coming...), the help files are a bit
sparse, and the discoverability of some features is pretty bad.
(By the way, the documentation wiki[1] seems to be down right now.)
Screencasts are all the rage now, and I was thinking of making little
30 second - 1 minute demo vids of some useful but hidden TextMate
features.
The problem with that idea is that it's not just the screen people
will be interested in, but the keyboard interaction.
I'd like to provide a keyboard overlay on the demo vids, which would
show which keys are being depressed to get the specific features to
activate.
Does anyone know how to do this?
I'm familiar with vnc2swf and wink. I'm also considering buying
Camtasia and/or Snapz Pro.
I guess a "stay-on-top" utility could be used and just be captured
along with the subject app usage.
Any pointers appreciated...
[1]
http://macromates.com:3000/read/book/1
I didn't see this in the list, but that doesn't mean it's not there.
It would be cool to have a back/forward functionality like in a
browser. For example, I often use cmd-T to find a file to look up the
signature of a class method or whatever. Then I want to go back to
the last file I was viewing. If I have more than 8 files open, the
tabs become useless. I could use cmd-W to close the file, but often
times I have three files that I'm working on at one time and it would
be nice to be able to just quickly switch between them in the order
in which i've looked at them.
Browser-ifying the tab system is a pet request of mine that I hope to
someday see realized. TextMate is an amazing editor - thank you
again, Allan.
Ed
> Did you try with tm-file:// ? The following works for me:
>
> echo "<meta http-equiv='Refresh' content='0; URL=tm-file://localhost$
> {HOME}/Sites/index.html'>"
>
> And alternate way to redirect is btw via the html “support library”
> found in the TM_SUPPORT_PATH (first library “includes” (sources) the
> library):
>
> . "${TM_SUPPORT_PATH}/lib/html.sh"
> redirect "tm-file://localhost${HOME}/Sites/index.html"
Neither of these are working for me:
. "${TM_SUPPORT_PATH}/lib/html.sh"
redirect "tm-file://localhost${TM_PROJECT_DIRECTORY}/public/index.html"
echo "<meta http-equiv='Refresh' content='0;
URL=tm-file://localhost${TM_PROJECT_DIRECTORY}/public/index.html'>"
___________________
Ben Jackson
Diretor de Desenvolvimento
+55 (21) 9997-0593
ben(a)incomumdesign.com
http://www.incomumdesign.com
I apologize if this has been brought up before.
Cutting and pasting text when in Python mode always pastes the text
four spaces (my indent width) to far to the right .
When pasting inside a <class>, text is pasted 8 spaces to far to the
right measured from the current cursor position.
<cmd>[ shift left does not work on my norwegian key map. (<cmd>]
shift right does.)
As you might imagine these two together is quite annoying ;)
regards
/rune
"Never attribute to malice what can be adequately explained by
incompetence"
Greetings,
I am using Subversion on OSX and I seem to be having trouble using TM
as the editor for commit messages. When I set the environment
variable SVN_EDITOR to mate, it pulls up the editor whenever I do an
svn commit, but when I save the file and type continue, it does the
commit with no message.
Is this a known bug or am I doing something incorrectly?
-Aaron
I've only been using TextMate a day, like it, but am struggling to
find resources on $TM_DROPPED_FILE, etc.
In HTML, I would like links created with $TM_DROPPED_FILE to use
absolute not relative paths to the project root and I would
appreciate any info on how to do this.
Cheers
Kyle
On Nov 22, 2005, at 7:08 PM, Urbanose wrote:
> Maybe a "/" between "localhost" and "$TM_PROJECT_DIRECTORY" ?
>
> Le 22 nov. 05 à 21:04, Benjamin Jackson a écrit :
>> I'd like to do a simple preview command to keep an html file in live
>> update as I edit css. This doesn't seem to work:
>>
>> echo "<meta http-equiv='Refresh' content='0;
>> URL=file://localhost$TM_PROJECT_DIRECTORY/public/index.html'>"
>>
>> What am I missing here?
>> ___________________
>> Ben Jackson
>> Diretor de Desenvolvimento
>>
>> ben(a)incomumdesign.com
>> http://www.incomumdesign.com
>>
>>
>> ______________________________________________________________________
>> For new threads USE THIS: textmate(a)lists.macromates.com
>> (threading gets destroyed and the universe will collapse if you don't)
>> http://lists.macromates.com/mailman/listinfo/textmate
>
>
>
>
___________________
Ben Jackson
Diretor de Desenvolvimento
+55 (21) 9997-0593
ben(a)incomumdesign.com
http://www.incomumdesign.com
I'd like to do a simple preview command to keep an html file in live
update as I edit css. This doesn't seem to work:
echo "<meta http-equiv='Refresh' content='0;
URL=file://localhost$TM_PROJECT_DIRECTORY/public/index.html'>"
What am I missing here?
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
While searching for "drawer" on the tm user list via google (
http://www.google.com/search?&q=drawer+site%3Acomox.textdrive.com%2Fpiperma…
) I found that the mailing list archive isn't being indexed by google,
since May 2005.
I thought I'd just link to prior discussions, but finding them will be tough..
The domain doesn't have robots.txt, so I'm not sure what's going on there...
Allan,
I have a question about the list of templates available under the "New
File.." dialog (the one you get when inside a project), the ordering of
available templates seems a little bizarre and I was wondering whether there
is any underlying logic there I could take advantage of to get my templates
to always appear at the top. In a bundle I have made 7 or so templates and
one of them always sites at the bottom of the list, whereas the others site
at the top, they are for Actionscript so each one starts with AS2.. As the
name, I would have thought they would site together but for some reason they
don't. The other thing that I wondered if could be changed was the items
actually in that list, it doesn't seem to be affected by which bundles are
active whereas the "New From Template" menu command is. Got any plans for
this dialog or improvements in the pipeline?
Regards
Chris
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
I know find in project is in for a revamp some time in the future, but
in the mean time, if I run it on a project with many many many files or
with a few really really big files, it goes spinning beachball of death
for eternity and killing is the only thing left to do -- which kinda
sucks when you have unsaved changes.
Is there anything that can be done about this?
Hi. I've just started using Mutt as my primary mail reader on my Mac, and
I'm having trouble relearning my emacs key bindings from my Linux days
(Ctrl/Alt aren't quite the same!). So I thought I'd give TM a try as my
default email editor.
Is there any support for editing emails out there? I'm specifically
wondering whether it's possible to turn the following on when opening in
some kind of "email mode":
* highlighting of quoted text (i.e. different colour)
* automatically entering line wrap mode
* knowledge of how to wrap quoted paragraphs (i.e. with ">" at the
start of each line)
Thanks,
Graham
--
Graham Ashton
Hi,
I'm trying to make my TextMate behave more or less in the same way as
emacs (I understand that Meta-x-u and similar keybindings may become
available in the future..)
Until then, I've created the DefaultKeyBinding.dict file (and It
works) but I can't for the life of me find how to issue a "undo"
command.
I really "need" to bind $^- to "undo".
I also "need" to rebind (rather than unlearn) crtl-s to save and
possibly disalble ctrl-x in the process. Can anyone help me with this?
btw. TextMate is great. Bought a license to day.
/rune
"Never attribute to malice what can be adequately explained by
incompetence"
This may have been answered before and I didn't see it. Is there a
reason that the snippets variables/values (not sure what they're
called) can only go to 9?
Mike Stickel
Screenflicker Developments
www.screenflicker.com
p: 403-923-7667
e: mike(a)screenflicker.com
> Why doesn't it come close?
>
> The only advantage I see with the separate window is keyboard support
> for the results, and probably easier to setup the capture stuff, but
> for that I could add a bash function or similar, that one would pipe
> the output through.
That's exactly it, it seems purpose designed for debugging, all the extra
fields for specifying line number, file name and so on, I think its very
clever, getting the same result in the html option is a lot more effort,
plus there's the keyboard navigation thing. I think its one of your best
inventions, is there any harm in leaving it in?
Chris Jenkins
Working in Python I clicked on the 'Tools widget' (is there an
official nomenclature for that? I mean the one with the gears icon
that gives access to the commands and macros...) and it opened up
positioned at the 'Python' submenu.
"That's cool!" I thought, but a quick test with a Textile document
showed that it was just a coincidence pertaining to my particular
list of enabled languages.
So: why no add it as a feature:
when activating the 'tools widget' it will focus on the submenu of
the currently active language.
just my $0.02
best regards,
tom
Hola,
if I well remember, in a previous version of TextMate there was an
html command, in HTML bundle, to tidy the page collecting in she
<style<</style> section all the attributes of the tags into body. i.e.:
<p align="center">hello</p> become <style ...> text-align:
center; </style> in the Head section, and in the bode we have
<p>hello</p>
How can I find this command to insert in the bundle?
Many thanks and regards!
Salvo M.
In looking at the Markdown bundle I came up with the idea that a
dropped HTML file (or snippet) could be run through html2text.py or
similar to generate Markdown formatting. I went to add a new drop
command, but realized I don't know what the approved way to add the
script is -- if there is one. I wil refrain from adding it as a
template file :)
pb
--
Paul Bissex
http://e-scribe.com/news/
Northampton MA USA 01061-0847
Hi,
[novice question alert!]
I would like to tell TextMate that if it encounters a heredoc with the
name 'END_SQL' in my perl script, the text within the heredoc is sql.
For example:
my $rows = $dbh->selectall_arrayref( <<END_SQL );
SELECT name, city
FROM people
WHERE country='nl'
END_SQL
>From
<http://macromates.com/blog/archives/2005/07/06/introduction-to-scopes>,
I get the impression that something like that is possible. But I cannot
get it to work. Can someone hint me in the right direction?
It seems TextMate is the only application I know where it is hard to
find a solution because there are /too many/ information resources:
mailing list, wiki, manual, irc and weblog. ;-)
Thanks
http://nslog.com/textmate
--
__ ____
/ / / __/ Brian Lalor "If you still have gas, you're
not lost."
/ _ \/__ \ blalor(a)bravo5.org -- Jacques Strappe
/_.__/____/ http://bravo5.org/
Hi,
While applescript is not how TextMate does its magic internally, it would be
nice to have some document creation tools, as this is how apps work together
in workflows on Mac.
I'd like to see the following script which works in SubEthaEdit work for
TM.
(*
View Source in SEE
Chris Biagini <http://assortedgeekery.com>
updated Jan. 5, 2005
*)
tell application "Safari"
set mySource to the source of document 1 as string
set myName to name of document 1 as string
end tell
tell application "SubEthaEdit"
make new text document at end of documents with properties {mode:"HTML",
text:mySource, name:"Source of: " & myName}
activate
end tell
Dr Timothy Bates <tim.bates(a)ed.ac.uk>
Reader in Differential Psychology
University of Edinburgh
Dept Psychology
PPLS
7 George Square
EH8 9JZ
wk +44 131 651 1945
FAX +44 131 651 3461
home +44 131 332 3543
Mob +44 790 386 4573
Easy on the flames, boys:
http://www.theappleblog.com/2005/11/18/textmate/
It's a weak review, not even scratching the surface of TM's
extensibility and ease of use, but that kind of review could take
weeks to write. :-)
--
Brian Lalor / blalor(a)bravo5.org
Stewardess: We know you have your choice of bankrupt carriers
and we
appreciate you choosing us.
I just noticed something strange. I turned off Soft Wrap, and then
set Wrap Column to use Window Frame. I had show right margin
indicator turned on in preferences. What I get is this:
I guess it's a drawing problem...
--
pgp fingerprint: BC64 2E7A CAEF 39E1 9544 80CA F7D5 784D FB46 16C1
Does anyone know if it is possible to use forms in the html output window
when running a command?, Id like to use a form to take certain certain user
input and pass those values to a perl script hidden inside the language
bundle and get the result from that perl script back inside the same html
window. This is for a help lookup facility that asks the user to type a
search term in and select various scoping options. I can do it using
osascript to open an Applescript ask dialog, but I wanted something that was
more integrated with TM.
Many thanks to anyone who can suggest something,
Chris
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Hello All,
I'm new to TextMate, moving over from BBEdit. I'm still exploring the
application, but have already purchased a license, as it really
"feels right."
First question relates to something I frequently did in BBEdit --
"Process All Lines", where I might prefix and suffix each line in a
selection. Is there a way to do this in TextMate?
(I've seen there's an "Edit Each Line in Selection" menu item in
TextMate, but I can't figure out what it does, or how to use it.)
Many thanks in advance.
--
Matt Henderson
matt.henderson(a)gmail.com (personal) | matt(a)makalumedia.com (work)
http://matt.makalumedia.com
What I'm looking for is the ability to select the contents of a quoted
attribute (HTML for instance), preferably with a keyboard shortcut.
About 75% of my workday is spent editing existing HTML documents, and
this ability would be a HUGE time-, and wrist-, saver. I hate having to
go to the mouse and drag select every time I need to change the href
contents of an A tag.
If this ability already exists, either in TextMate, or even native to
OS X (I'm a newcomer), please, please, please tell me where to find it.
If it doesn't, please, I beg you, add it to this AMAZING piece of
software.
Thank you.
Warren L. Parsons
This isn't quite what I'm talking about.
I want to be able to place my cursor inside *any* given quote pair, hit
a keyboard shortcut, and have everything between the quotes selected. I
just gave "href" as an example.
>
> command-F
> Find : (?<=href\=")[^"]+
> Regular expression
> Next
>
> Manually replace the address selected
>
> command-G to select next match