Hi All,
In order to sort very big log files, I want to add leading
characters to every line.
For instance, if I want to have lines that contain "you" and/or "me"
sorted first, I used this find/replace template :
find : ^.*(you)?.*(me)?.*$
replace : ?1(?2(00_$0):(01_$0)):(?2(02_$0):(99_$0))
Is there a more simple way to achive this?
Have a nice day,
--
Jo <W:00°04'37" ; N:47°15'36">
1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72
Don't know why I hadn't considered this before... my partner looked at
my screen today while I was coding some JS and said "Are you crazy?
You're going to ruin your eyes with that!" I did some cursory research
(read: Google) and found conflicting opinions on the subject... but most
seem to agree that black ground/light text is VERY bad for eyestrain.
Taking this under consideration, I'd like to change the defaults for the
JS bundle, but the prefs only allow for changing the defaults. How can I
do this, and does anyone have any *real* data about the above
considerations?
--
Ben Jackson
Diretor de Desenvolvimento
INCOMUM Design & Conceito
+55 (21) 9997-0593
ben(a)incomumdesign.com
http://www.incomumdesign.com
Just a quick note to mention that I have updated the HTML bundle on the
SVN repos, so anyone using HTML might want to check it out, and comment
on what's missing, wrong etc. It's still work in progress.
Known issues, missing or under work items:
HTML:
-- Better Syntax highlighting (along the lines of the stuff in the PHP
bundle) is 'ready' and waiting for b6 to check that everything is
working OK.
-- <!-- Toggle Comments --> Command is being refined to work in almost
any scenario.
-- more snippets
-- No ReadMe doc finished yet (in progress)
CSS:
-- Syntax file as HTML above
-- /* Toggle Comments */ Command as HTML above
-- Loads of useful snippets is still to be done. PLEASE HELP if you
have any ready
JavaScript:
-- Syntax file as HTML above (vastly improved if I may say so myself
;-) )
-- // Toggle Comments Command
-- Loads of useful snippets is still to be done. PLEASE HELP if you
have any ready
If you are working with web development please help me make TM the
kick-ass app for web work flow. I am looking for help with basic
generic HTML/CSS/JS snippets, commands, macros etc, but I'm also hoping
to create a better XHTML bundle with Web Standards as the key aim and
ready snippets with chunks of code in them and so on. All of this
takes time, so I sure could do with the help ;-)
Now onto something that made me smile & LOL.
On 5 Apr 2005, at 09:23, Jeroen van der Ham wrote:
> On 05-04-2005 09:22, Steve Lianoglou wrote:
>> On Apr 4, 2005, at 11:56 PM, Jeroen van der Ham wrote:
>>> Why would you want to setup a snippet for <br /> ?
>>> If you're using too many br-tags in your HTML document, you're not
>>> doing it right...
>> Thanks for the lesson in semantic web development, Jeroen .. but it
>> was just meant to be a trivial example to get the question across.
> Sorry, just couldn't resist and there are still so many people out
> there doing it wrong...
Steve, just in case you need it there's a <br /> snippet in the HTML
bundle that triggers on Cmd + Return, which I think is quite handy.
There's even a [Non-breaking-space] snippet that triggers on Cmd
+ Space. Just in case you need to go back to the good old days of bad
HTML ;-)
>> <img src="/images/clear.gif" width="${1:width}" height="{2:height}"
>> alt="Make some Room" />$3
> Aaargh! Use XHTML and CSS !
> <div class="makeSpace"/>
> css:
> .makeSpace { width=x; height=y; }
>
> ;-)
Classy, absolutely classy, Jeroen !! No offence intended Steve, yours
was good too, but a bit too subtle (You did it as a joke, right ?)
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
I hope this is not a very stupid question, but can someone explain to
me how input patterns are supposed to work? i.e. if i have bound a
snippet to an input pattern, how do I activate it? (An example of an
input pattern would be much appreciated). Or are they not implemented
yet?
Haris
Hi All,
My apologies if this request has been posted before.
I was wondering if it would be possible to have the multiple clipboards
displayed as a "virtual" text document in the editor, so you can use the
editor's full power on it. The clips could be separated by some
character-sequence. If the scripting/macro stuff can access this document too,
it could be quite powerful (add stuff, remove stuff, change stuff).
Thanks for a great app!
-Tao.
On Apr 5, 2005, at 9:16 AM, kumar mcmillan wrote:
> find typing <h1> A HEADER and then hitting opt+cmd+"." to close the
> tag much easier than inserting a snippet called "<h1>" .
or you could just type "h1" and hit Ctrl + Space to get <h1>|</h1>.
Thank you Justin.
> I would suggest focusing on bigger time-savers ... like the
> Colorpicker command. that thing is awesome!! Anyway, I don't want to
> dampen your progress but I think you are asking for help in an area
> where other users may not share your vision.
I disagree, and hope others do as well. I think there a huge need for
better web development workflow support in TM.
-t
observe my penitent respect for threading!
While we're on the topic of drawers & fullscreeniness ...
Any chance the editor could have a 'full screen' mode (ie, completely
fullscreen like Firefox [F11 IIRC])?
keybound to something accessible, this would be really swanky. Not sure what
would be done about the drawer in this case, but if you think fullscreen
mode would be a good feature (Allan), it might have some impact on what you
intend to do with the drawer.
Combined with splits and some way to preview server-side html output from
within TextMate (am i missing something that exists?) I'd only have to leave
TextMate to procrastinate and bathe.
cheers
D
-----Original Message-----
From: John Lianogou [ <mailto:lists@arachnedesign.net>
mailto:lists@arachnedesign.net]
Sent: Wednesday, 6 April 2005 11:52 AM
To: TM Users
Subject: Re: [TxMt] Replace the drawer
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I dunno... I sorta favor ditching the drawer. :-) More often than not, I
like my text editor to be somewhat full-screen... drawers have a way of
making that really not work... I feel like a sidebar approach would be more
practical. In fact, if the world were ideal and bloat wasn't a factor, I
rather like the way jEdit docks stuff to the left, right, and bottom... it's
rather handy for keeping tools like an XPath tester, Ant task manager, and
other tools easily accessible, yet unobtrusively minimized when not in use.
Best, jL On Apr 5, 2005, at 8:27 PM, Steve Lianoglou wrote: > Allan Odgaard
wrote: >>> I don't hate the drawer, I'm just saying, that's the one thing I
>>> find to be annoying. >> When I revisit the project window I'll allow for
double-clicking >> groups to "descend" into these. That should cut down on
leading >> indent. > > Ohh .. a little 'hoisting' action like what you're
talking about would > be pretty sweet. > > > cheers, > -steve -----BEGIN PGP
SIGNATURE
I vaguely recall this question coming up but I wanted to re-emphasize
it.
There is currently no way for a command to operate on all files
contained in a project [or is there?]. there is TM_PROJECT_DIRECTORY
but this is only a path to where <project>.tmbundle lives. Allan do
you have plans for adding this soon?
Some motivations for such a request :
Another developer and I would like to work on some eclipse-style
refactoring tools [
http://www-128.ibm.com/developerworks/library/os-ecref/ ] but there
would have to be a way to access all files in a project. Also, the one
reason holding me back from using the Subversion bundle [almost]
exclusively is its inability to commit all files in a project.
K
Hi. Please correct me if i'm wrong, or excuse me if this has been covered.
When i select a block of text *then* convert it to full line selection
(cmd-shift-l) & enter column mode (option), it seems not to work most of the
time ... if i make the selection full line first and THEN expand it to
multiple lines, then column mode, it's fine.
I noticed this specifically when trying to prepend '#' to all lines in a
selection, FWIW
(I'm not in front of TM at the moment so i hope that's accurate)
cheers
D