[TxMt] TextMate with CSSEdit integration
Brad Miller
bonelake at mac.com
Sun Mar 13 04:36:08 UTC 2005
On Mar 12, 2005, at 10:08 PM, Eric Hsu wrote:
> At 9:54 PM -0600 3/12/05, Brad Miller wrote:
>> Cool, Since I sent the email I've been working on adding LaTeX
>> support for \(sub)*section.
>
> Awesome.
Basic LaTeX support is done.
>
> Hey while you're at it, how about having the script pay attention to
> TM_MODE in case there is no recognized filetype? If you give us an
> inch, we'll take a mile.
>
>> How do I match a \ again?
Nevermind, I got carried away and did \\\\
Now as far as sorting in alphabetical order... Thats going to take a
bit more time than I thought. The difficulty is that the regular
expression matches and stores away the whole definition string e.g.
'sub foo' or 'def foo' or \subsection{foo}. The output is done Later,
when we don't know the mode anymore, so I think I would need to modify
all the regular expressions to capture the match in two (or ugh maybe
three parts)
prefix | thingToSort | suffix
sub | foo(..) |
def | foo (...) |
\section | foo | }
public static void | main(..) |
That makes it a bit more complicated....
The mode thing is also a good idea, but I think I would redesign how
the regular expressions are associated with a file type.... Too much
work to finish in one night. But I'll get to it.
Brad
>
> ... you mean besides \\ ? ... I must not understand. - Eric
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
Brad Miller, PhD
Assistant Professor
Luther College
http://www.cs.luther.edu/~bmiller
jabber: bnmnetp at jabber.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1961 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20050312/8cc2c614/attachment.bin>
More information about the textmate
mailing list