I made a modification to the 'Strip trailing spaces' command. My
option allows it to work on the whole document. The only annoyance
that I have is when it is done, all of the text in the document is
selected. Is there a way to turn this selection off so that I could
just use my hotkey for the command and then keep typing? It's not a
huge issue, but it is a minor annoyance.
--
Robert M. Zigweid rzigweid(a)zigweid.net
http://rzigweid.zigweid.net
Working with a new special bundle for context I have run into the
following error when using any of the special item lists in the default
bundle.
ERROR: no handler for extension/mode 'ConTeXt' Entitynav: Outputs a
parsable list of functional entities for the given code file Usage:
entitynav -f [ -m $TM_MODE ] entitynav -f - -m $TM_MODE entitynav -f
- -e entitynav -f - -E -f, --file |- : parse or stdin if `-' -m,
--mode : set mode to -e, --ext : set mode to -E, --ext-from-file :
set mode to extension of -s, --sort : sort output by
function/method/class name -S, --sort-silently : sort only if the mode
supports it, otherwise output unsorted -h, --help
Any thoughts on how to get EntityNav to recognize the context mode. It
is essentially the same as the Latex mode.
Thanks
Robert
Greetings all,
thanks to those who posted the pdfsync details for TeXniscope and
TextMate: it's now working really well for me. If anyone's having
difficulties getting the TM->PDF direction working it might be worth
noting that teh command posted above by Thomas should be only 3 lines
long. That is, there is a comment, then a single line (containing the
"&&"), and the rest is a single command on a single line. Just be
careful to delete any line breaks when you paste the script into the
command window.
For what it's worth, the synchronisation behaviour here isn't the same
as Flashmode (a la Claus Gerhardt's work): the latter provides "real
time processing" of the input file, so that you see what you're
producing as you type. That is, the file is being processed behind the
scenes, and changes to the pdf file are produced on the fly.
Cheers,
Paul
Hi,
I know that you can use TextMate to cite from a BibTeX file but as of
now this only works for one BibTeX file. I have several BibTeX files
which I maintain seperately and since this works much better for me I
thought I'd give BibDesk a try with which you can have several BibTeX
files open at the same time and cite from them with BibDesk's system
wide citing service. I get this to work in TextEdit and TeXShop but not
TextMate :-(
To use the service you type \cite{H}, leave the cursor at H and type
Alt-Escape; this will give you a list of all references that contain H,
but in TextMate this only cylcles through several words containing H.
In TextMate the Escape key is set to "Next Completion", so I guess that
this either clashes with BibDesk's hot key or TextMate doesn't support
BibDesk at all.
If anybody has any hint how to overcome this either with TextMate
supporting several BibTeX files or how to get BibDesk to work with
TextMate I'd be very grateful!
Best wishes, Thomas
Ciao, Thomas
--
Thomas Schröder +++ hydrochlorix(a)gmx.net
Hello
I'm a total beginner with Textmate and i 've a little problem when i
use it with latex command.
I've no problem to get a pdf with preview, texniscope or Acrobat but if
i made a modification in the source, i need to close the old pdf to get
a new one. Is it possible to refresh the view ?
Thanks Alain Matthes
Dear Sir/Madam
Permit me to solicit your assistance on this
transaction with you.My name is Chief Obina, I am a
staff of STANDARD BANK PLC
As one of the auditors of the bank, I found out that
there is an unclaimed fund of $19.4M. in one of our
customer's account for more than ten years and our
banking law stipulates that any unclaimed fund for
more than 12years will go to the bank revenue as an
unclaimed fund.
My colleagues and i have made our own personal
inquiries about the depositor and the next of kin but
sadly,the depositor and his entire family died in a
plane crash.
We solicit that you stand as the next of kin so that
the money will be transfered to your account or any
other account you may provide for us.
We propose that the money be shared as follows 30% for
you,
65% for my colleagues and I while 5% will be for any
expences we may incure.
I awaits your urgent reply while believing you do
understand the confidential nature of this
transaction.
Thanks,
Chief Obina
Allan Odgaard wrote:
[snip]
> so what you can do is go to menu Automation / Run Command / Edit
> Commands...
[snip]
I need to say this, so sorry if this seems out of place on the list...
The reason that I love TM so much is exemplified by the response to Mr.
Schröder's question about BibDesk. Allan, who I am sure has much better
things to do with his time than worry about single requests for help and
the like, instead of assuming someone else would tackle the question (it
was posted to the list, so it would have been a perfectly valid
assumption,) not only answered the question, but implemented the command
and updated the Latex bundle. And anywhere that Allan doesn't have time
to do that, someone else ( Sune and Eric immediately jumps to mind, but
there are _tons_ of others, so if you feel short shrifted, feel free to
burn my effigy ;) immediately brilliantly answers the question, usually
at what seems like great effort (at least great effort to expend helping
other people solve their problems instead of your own.)
Ok, so this mail is mostly me wanting to say thank you to those people
that put so much effort into not only making TM the best editor that
ever existed or will ever exist, but also in making sure that the
community around the editor is and stays as great as it is. I've been
lurking on the list since last November and there is no other list I
have ever been subscribed to ( except maybe ruby-lang ) where the
atmosphere was so radically *nice*.
Thank you Allan, and everyone on the list, for being genuinely interested
and actively involved in the community of people who use TM every day.
Jon Raphaelson
PS. Allan, when are getting b6? (lol ;)
Mac OS X 10.4 Tiger will be released on April 29.
http://www.apple.com/macosx/
I assume TextMate has been tested and is working fine under 10.4. Will
it be able to leverage any of the new system architecture? In
particular, I'm wondering if I'll be able to have a Smart Folder as
part of a TextMate project.
--
Jonathan Chaffer
Applications Developer, structure:interactive
(616) 364-7423 http://www.structureinteractive.com/
Hi!
I was wondering if it's possible to define a "foldingStopMarker" that
marks the line _above_ some pattern to end a folding. The issue here is
that I have a markup (so called structured text) that does not use any
explicit "end" marker, as the next "start" marker implicitly stops the
previous.
Example markup:
= MAIN
! First Chapter
...
! Second Chapter
...
= APPENDIX
! Appendix 1
...
As you see, parts of the text are marked with "= PART", chapters with
"! chapter", sections with "!! section" etc. Hence, "! Second Chapter"
in this example concludes "! First Chapter", and the
"foldingStopMarker" should point to the line above "! Second Chapter".
Any help is greatly appreciated.
Thanks and regards
- Stefan
--
Stefan Brantschen
sbr(a)acm.org
Is there anyway for TextMate to reformat HTML - in a similar fashion to
Dreamweaver's "Apply Source Formatting" command, or Omniweb's
"Reformat" command, so that you go from:
<html>
<head>
<title>Empty Document</title>
</head>
<body>
</body>
</html>
to:
<html>
<head>
<title>
Empty Document
</title>
</head>
<body>
</body>
</html>
Mike
unsubscribe
* * * * * * * *
*BILL EVANS*
developer
*JUICY TEMPLES*
2424 E. Robinson St.
Orlando, Florida 32803
407 895 5015 phone
407 895 1883 fax
www.juicytemples.com
textmate-request(a)lists.macromates.com wrote:
>Send textmate mailing list submissions to
> textmate(a)lists.macromates.com
>
>To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.macromates.com/mailman/listinfo/textmate
>or, via email, send a message with subject or body 'help' to
> textmate-request(a)lists.macromates.com
>
>You can reach the person managing the list at
> textmate-owner(a)lists.macromates.com
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of textmate digest..."
>
>
>Today's Topics:
>
> 1. Xetex (Alain Matthes)
> 2. Re: Xetex (Robert Ullrey)
> 3. Folding Question (Stefan Brantschen)
> 4. RE: Column selection navigation (David Lee)
> 5. Re: Column selection navigation (Sune Foldager)
> 6. BibDesk (Thomas Schr?der)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Mon, 11 Apr 2005 17:34:13 +0200
>From: Alain Matthes <alain.matthes(a)free.fr>
>Subject: [TxMt] Xetex
>To: TM Users <textmate(a)lists.macromates.com>
>Message-ID:
> <r02010500-1038-28B43C4AAA9F11D9856C000A95B069FE(a)[192.168.0.2]>
>Content-Type: text/plain; charset=US-ASCII
>
>Hello
>
>Can I use Textmate as a front end for XeTeX ?
>
>Did somebody already make the experiment ?
>
>
>Actually i use TM with pdfLateX and Acrobat Reader :
>
>/usr/local/teTeX/bin/powerpc-apple-darwin-current/pdflatex
>--shell-escape -interaction=nonstopmode -file-line-error-style
>"$TM_FILEPATH" | perl -e
>'while(<>){$f.=$_}$_=$f;s/([^\n])\n([^\n])/$1$2/g;print;'
>echo
>echo "Previewing..."
>echo $TM_FILEPATH | perl -e 'while(<>){s/\.tex$/.pdf/;print;}' | xargs
>open -a Reader
>
>I need the -sheel-escape option because i work with pstricks and
>postscript . It's fine and i've no problem to get the PDF files.
>
>
>
>Thanks
>
>Alain Matthes
>
>
>------------------------------
>
>Message: 2
>Date: Mon, 11 Apr 2005 09:20:03 -0700
>From: Robert Ullrey <robert_ullrey(a)mac.com>
>Subject: Re: [TxMt] Xetex
>To: TM Users <textmate(a)lists.macromates.com>
>Message-ID: <7b2057ae0247d9f1a41998d75107b28d(a)mac.com>
>Content-Type: text/plain; charset=US-ASCII; format=flowed
>
>Hello Alain,
>It is simple, just replace pdflatex with Xelatex.
>
>cd `dirname "$TM_LATEX_MASTER"`
>$xelatex --shell-escape -interaction=nonstopmode -file-line-error \
>"$TM_FILEPATH" | perl -e
>'while(<>){$f.=$_}$_=$f;s/([^\n])\n([^\n])/$1$2/g;print;'
>echo
>echo "Previewing..."
>echo $TM_FILEPATH | perl -e 'while(<>){s/\.tex$/.pdf/;print;}' | xargs
>open -a Reader
>
>If you want the file to show in Textmate's htmlbrowser rather then
>opening Reader, just use the existing Latex bundle command and replace
>pdflatex with Xelatex.
>
>Cheers
>Robert
>
>
>
>On Apr 11, 2005, at 8:34 AM, Alain Matthes wrote:
>
>
>
>>Hello
>>
>>Can I use Textmate as a front end for XeTeX ?
>>
>>Did somebody already make the experiment ?
>>
>>
>>Actually i use TM with pdfLateX and Acrobat Reader :
>>
>>/usr/local/teTeX/bin/powerpc-apple-darwin-current/pdflatex
>>--shell-escape -interaction=nonstopmode -file-line-error-style
>>"$TM_FILEPATH" | perl -e
>>'while(<>){$f.=$_}$_=$f;s/([^\n])\n([^\n])/$1$2/g;print;'
>>echo
>>echo "Previewing..."
>>echo $TM_FILEPATH | perl -e 'while(<>){s/\.tex$/.pdf/;print;}' | xargs
>>open -a Reader
>>
>>I need the -sheel-escape option because i work with pstricks and
>>postscript . It's fine and i've no problem to get the PDF files.
>>
>>
>>
>>Thanks
>>
>>Alain Matthes
>>______________________________________________________________________
>>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
>>
>>
>>
>
>
>
>------------------------------
>
>Message: 3
>Date: Mon, 11 Apr 2005 22:23:48 +0200
>From: Stefan Brantschen <sbr(a)acm.org>
>Subject: [TxMt] Folding Question
>To: textmate(a)lists.macromates.com
>Message-ID: <366513925a7794c7d63a4a5ab3bc40b5(a)acm.org>
>Content-Type: text/plain; charset=US-ASCII; format=flowed
>
>Hi!
>
>I was wondering if it's possible to define a "foldingStopMarker" that
>marks the line _above_ some pattern to end a folding. The issue here is
>that I have a markup (so called structured text) that does not use any
>explicit "end" marker, as the next "start" marker implicitly stops the
>previous.
>
>Example markup:
>
>= MAIN
>
>! First Chapter
>
>...
>
>! Second Chapter
>
>...
>
>
>= APPENDIX
>
>! Appendix 1
>
>...
>
>As you see, parts of the text are marked with "= PART", chapters with
>"! chapter", sections with "!! section" etc. Hence, "! Second Chapter"
>in this example concludes "! First Chapter", and the
>"foldingStopMarker" should point to the line above "! Second Chapter".
>
>Any help is greatly appreciated.
>
>Thanks and regards
>- Stefan
>
>
>--
>Stefan Brantschen
>sbr(a)acm.org
>
>
>
>------------------------------
>
>Message: 4
>Date: Tue, 12 Apr 2005 10:23:48 +1000
>From: "David Lee" <david(a)davelee.com.au>
>Subject: RE: [TxMt] Column selection navigation
>To: "'TM Users'" <textmate(a)lists.macromates.com>
>Message-ID: <20050412002246.8CEA8CA1(a)one.textdrive.com>
>Content-Type: text/plain; charset="US-ASCII"
>
>Just something I'm curious about -
>
>When you select 4 full lines (for sake of argument) and enter column mode,
>the caret spans 5 lines (one below the previous selection).
>
>Is this intentional?
>
>D
>
>-----Original Message-----
>From: Allan Odgaard [mailto:allan@macromates.com]
>Sent: Monday, 11 April 2005 7:36 PM
>To: TM Users
>Subject: Re: [TxMt] Column selection navigation
>
>On Apr 10, 2005, at 19:13, Charilaos Skiadas wrote:
>
>
>
>>>But to "enter" the selection you can press cmd-option-A (works for
>>>normal selections only). This places the caret on the end of the
>>>first line, you can move it backwards and make changes.
>>>
>>>
>>Cool, I hadn't realized you could move backward and preserve the
>>selection. One question then:
>>Why can't the same be done when the columnar selection is enabled
>>through the option key?
>>
>>
>
>It will eventually be possible. Initially I wasn't sure exactly how to
>handle the case for a column-selection. If we have (selection of left
>column):
>
> +--------------+
> |@"declaration"| [NSDictionary ...]
> |@"keywords" | [NSDictionary ...]
> |@"strings" | [NSDictionary ...]
> +--------------+
>
>I think using cmd-option-A should place carets like this:
>
> @"declaration"| [NSDictionary ...]
> @"keywords"| [NSDictionary ...]
> @"strings"| [NSDictionary ...]
>
>I.e. placing the caret before the last white-space sequence of each selected
>sub-line.
>
>______________________________________________________________________
>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
>
>
>
>
>------------------------------
>
>Message: 5
>Date: Tue, 12 Apr 2005 10:40:26 +0200
>From: Sune Foldager <cryo(a)cyanite.org>
>Subject: Re: [TxMt] Column selection navigation
>To: TM Users <textmate(a)lists.macromates.com>
>Message-ID: <88C05347-1254-4219-9976-19DFE9F47291(a)cyanite.org>
>Content-Type: text/plain; charset=US-ASCII; format=flowed
>
>On 12-04-2005, at 02:23, David Lee wrote:
>
>
>
>>Just something I'm curious about -
>>When you select 4 full lines (for sake of argument) and enter column
>>mode,
>>the caret spans 5 lines (one below the previous selection).
>>Is this intentional?
>>
>>
>
>I already bugged Allan about this.. ;-). It is due to the fact that
>when you've selected four full lines, the cursor is internally placed
>at the start of the 5. even though it's not visible.... But I think
>maybe it should only select 4 lines in column mode in that case.
>
>
>
OK, for way too many hours I have been trying to get this seemingly
simple Perl compatible regex to work out, but I just can't seem to do
it. I'm about to give up, move to a dark cave and shun computers for
life. :(
The problem:
I have a string that is looking something like this: /a/b/c/d/
the string can be just /a/ or it can be /a/b/..../z/
very long.
I would like to catch all the various bits in this string [ /a/b/c/d/
] as follows:
$1 = /a/
$2 = b/
$3 = c/
$4 = d/
and so on for each added bit. The bits in between the "/" contains
mainly [alphnums].
I've tried every regex version of this that I can think of and most
don't return a damn thing, and others return the wrong things. A few
days ago I thought I got this regex stuff, but now I'm in serious
doubt.
I know that I can workaround the problem by doing other things, but
it's become a bit of a burden on my mind. I'd like to know where I'm
going wrong 'cause I can't see it at the moment and that drives me mad.
Extremely over the top grateful for any help. :)
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
You have a text doc that would run over 4 pages when printed.
You only want to print the first page, so in the print dialog set it to
print 1 of 1.
On the printout, the page is labeled 1 of 4, when this should be a count
of the number of items coming out of the printer.
drew.
Hello fellow TextMaters. I'm a Ruby programmer currently writing a web
app with Ruby on Rails.
Is there a way to set the font size for printing?
I can't find anything, so I made this command that works well for me:
cd $TM_PROJECT_DIRECTORY
enscript -G -p /tmp/`basename ${TM_FILEPATH}`.ps --margins=36:36:36:36
--mark-wrapped-lines=arrow $TM_FILEPATH
cd /tmp #`dirname $TM_FILEPATH`
open `basename $TM_FILEPATH`.ps
I have it bound to Shift+Splat+P.
It requires Enscript (port install enscript)
The enscript command line above adds a nice heading ( -G ), and sets
the margins to 1/2" all around. This allows me to print on drilled
paper two-sided. After enscript creates the PostScript, the open
command opens it in Preview, where you can print it.
Regards,
JJ
I'm not sure if there is really a way to fix this or not, given the way
that the snippets work. But the tag snippet (activated by default with
<-tab) appears to have a bug.
Actually it may be just a misconception on my part, but the problem is,
when I activate the snippet with <-tab, the general flow for me is to
type in the snippet name, and then the attributes, then tab to get at
the Text Node portion of the tag. The problem is that the attributes
show up in the closing tag too. I'm not sure if this is fixable or not
based upon the way that snippets work. But it sure would be convenient
if the attributes didn't show up in the closing tag too.
Regards,
Robert M. Zigweid
--
Robert M. Zigweid rzigweid(a)zigweid.net
http://rzigweid.zigweid.net
I've searched the list and the help file, as well as checking pretty
much all available existing commands, but I couldn't find any
information or examples of how to use this field.
can anyone point me to some resource? or is this feature still dormant
and will only come to life in b6 or later?
I miss its functionality terribly ;-) I'm sure our lives will work out
much better, once it works and is adopted by the bundle maintainers to
restrict their keybindings (i.e. no more 'building xcode project' when
actually all I want to do is use a svn command).
best regards,
tom
--
Tom Lazar, http://tomster.org
I know I'm not supposed to ask this, but it's a Friday. Any vague hints
on when the next beta might be available? Like days, weeks, months?
Maybe a riddle containing the answer?
--
______________________________
toddgrimason*todd-AT-slack.net
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
I am not a big fan of the drawer widget. I was excited to hear that
apple mail is dropping the drawer come 10.4. I would like to request
comments about converting the drawer to a mini panel (the type that
disappears when focus is lost). near the top of the panel, there would
be a drop down which would list all open projects and files (if an
open file has it's own window). as you focus a new window, the mini
panel will update to reflect the currently focused window's project or
file. in the case of a file, the mini panel would be blank.
what does everyone else think?
also, OT from the previous post .. <ducks>and I know how much we like to maintain the sanctity of threads</ducks>
Is there a small bug in the cmd-t window that is known? I feel like on a few ocassions:
1) I brought up the window,
2) started to type out a word,
3) textmate narrowed the list of files
4) i then saw the file i wanted
5) ... scrolled down to the file to have it selected,
6) hit enter to open it up
7), but textmate opened up the first file in the list and not the one i selected.
Just checking to see if anybody else has noticed.
-steve
I edit a lot of files via ftp on a web server running on XServe with
Mac OS X Server.
It would be extremely useful to save on the XServe a .tmproj project
of TM containing all files of my web site and access only this project
file in remote via ftp with Transmit or Fugu (or maybe via TM
directly?) instead open every single file.
Not sure who maintains the sql syntax bundle, and I would do it myself
if I had time right now, but the syntax highlighting breaks if a
comment that begins with '--' has a forward slash somewhere after that
on the same line. Very nice bundle otherwise.
--
Best regards,
Lang Riley
The Special Items list is awesome. Great example of what can be done
with TextMate, but I've noticed that the HTML Output can become really
slow with larger files. I'm not really sure why it is so slow, is this
a bug?
- Juan Carlos
p.s. my apologies if this has already been discussed.
Hi all
I've written a short ruby script for the purposes of checking regular
expressions within TextMate.
http://dml.homedns.org/rx_helper.rb
It expects to be fed a regular expression on a line of its own,
followed by any number of lines to test against. The RX can be either a
straight match (eg ^([a-z]+):([0-9]+ ) or a substitution (eg,
/old/new/). Cuddling /slashes/ are only required for
/pattern/replacement/ expressions.
If you create the following action in TextMate:
echo "$TM_SELECTED_TEXT" | /path_to_script/rx_helper.rb
with input='selected text' & output='show as tooltip', you can open a
new window, write a regexp, write some test cases for your regexp, then
select-all and see the results in a tooltip whenever you need it (I
have it bound to ctrl-alt-option-X).
I hope someone finds it useful. If you find any bugs / have any
suggestions on how to improve it, please do let me know.
cheers
D
P.S here's some sample input and output:
------------------------------------
IN (TextMate scratch file)
==
(http|https|ftp):\/\/(([-_a-zA-Z1-9]+)\.)+([-_a-zA-Z1-9]{2,3})
http://www.google.comhttps://www.netbank.com.au
ftp://mafia.ru
www.clickstart.com
boozehound
gary sweeney
http://www.amazon.com/http://www.amazon.com/exec/obidos/subst/home/home.html/002-0270779
-6984007
~
OUT (tooltip)
==
(http|https|ftp):\/\/(([-_a-zA-Z1-9]+)\.)+([-_a-zA-Z1-9]{2,3})
Successful Matches:
===================
http://www.google.com : matched expression
match number [1] : http
match number [2] : google.
match number [3] : google
match number [4] : com
https://www.netbank.com.au : matched expression
match number [1] : https
match number [2] : com.
match number [3] : com
match number [4] : au
ftp://mafia.ru : matched expression
match number [1] : ftp
match number [2] : mafia.
match number [3] : mafia
match number [4] : ru
http://www.amazon.com/ : matched expression
match number [1] : http
match number [2] : amazon.
match number [3] : amazon
match number [4] : com
http://www.amazon.com/exec/obidos/subst/home/home.html/002-0270779
-6984007 : matched expression
match number [1] : http
match number [2] : amazon.
match number [3] : amazon
match number [4] : com
Failed Matches:
===============
www.clickstart.com : failed
boozehound : failed
gary sweeney : failed
Would it be possible to have TM center the display vertically according
to the location of a bookmark when the F2 'jump to bookmark
functionality' is invoked? Currently, pressing F2 only affects the
location of the cursor, but not necessarily the orientation of the
document view in TM. For example, if you are fond of using a mouse
scroll wheel as I am to look around (in a quicker fashion than the
arrow keys will allow), then you will find that since your cursor has
not actually moved, subsequently hitting F2 will not change the
orientation of the document thereby effectively negating the functional
purpose of the F2 functionality.
--
Best regards,
Lang Riley
Incremental searching is great. It would be even greater if it allowed
repeats forward and/or backward of the same search. And even greater
still if it allowed regexps. As you might have imagined, I am missing
this from vim.
--
Best regards,
Lang Riley
Hi
now this should start a new thread.
I'm wondering if there's
a) a bug in 'select paragraph' , or
b) plans for a version of it that will select the 'code block' you're
working on
the reason being that (in ruby at least) the selection made bears
little relation to the structure of the code AFAICT. In perl it seems
just to select the current line.
I don't know if this is a bundle- or lower-level thing, but perhaps the
best way for it to work would be for each press of alt-P (or whatever)
to move the selection to the next outmost code folding boundary
eg one press selects the loop you're in, another the method, and
another the entire class.
am i missing something really obvious to Allan as usual, or is this
feature missing?
I know Allan's working on the entire syntax engine so I'll make no
mention of parentheses bouncing or matching :)
D
Hi there!
I'm on a tear....
When I have several non-project windows open, and I drag another
file on TM's icon, the new file window appears as it should; The
previous top window moves, while staying underneath, to just above and
left of the new window.
I didn't find anything related to this on the wiki or the list....
Cheers,
Dameron
Hi folks,
I don't know if this makes much sense, so I'm wondering if anyone else has noticed this problem.
I use Desktop Manager (http://wsmanager.sourceforge.net/) for virtual desktops .. so I have TextMate on its own desktop ... let's say I'm in my 'browser' desktop poking around somehwere (or email, or whatever) sometimes TextMate jumps to the foreground and steals the focus away from the current program I'm looking at (The TextMate window is still stuck in its own desktop, but the pain is that if I'm in the middle of typing something, It will litter my textmate document)
I tried quitting Desktop Manager and just poke around as normal, and I don't *think* it happened any more ... though I haven't really done any long extensive testing.
Is anyone else using these two programs together and having/not-having these problems?
Cheers,
-steve
Just a few posts ago there was some talk about having TextMate do interactive regex testing as part of its features ... I was itching for something similar because I'm coming over from jEdit which has a RegextTester plugin of sorts ...
Anyway .. we came across this:
http://macupdate.com/info.php/id/13271
Might be helpful.
-steve
I just registered TextMate, and I was told that I would receive an
email with my serial number included immediately. Unfortunately, I
haven't received it, and it's been a few hours. I'm just wondering is
there anyone in particular to contact with these issues? I have the
paypal receipt if necessary.
Thanks.
Dan
Could do with a Previous Tab command that just bounces me back to the
last tab I was looking at.
should be easier to implement than, say, split window... :-)
jL
I've had a lot of time to get use to TextMate now and we're getting
along quite well. However, I have a couple of things I haven't managed
to get use to, so I thought I would ask for some help.
1. Is there an easy way to PREpend something to each line in a
selection, using just the keyboard? Let's say I have the following:
Line one.
Line two.
Longer line three.
I know I can select them using shift and the up arrow, strike
option-apple-A to edit each line, strike control-left-arrow to get to
the beginning of the first line and then type, but in this case that
yields:
This is Line one.
This is Line two.
Longer liThis is ne three.
Not good. Am I missing a trick here?
2. Semi-related: Can you make a column selection without the mouse?
3. I've managed to shake most of my BBEdit habits, but I can't seem to
conquer one. Option-down/up-arrow to scroll a page. That's really
handy when I'm hunting through code for something. That key
combination has a different purpose in TextMate and to be honest, I can
never make it go where I want. :( Does TextMate have any scroll
up/down key-bindings?
Thanks in advance for any tips shared.
James Edward Gray II
On 1 Apr 2005, at 04:06, David Lee wrote:
> I think it's twice I've been chewed out for threading before...
Apologies David didn't mean to "chew you out", but Sune - the list's
thread-keeper extraordinarie - has gone awol lately, so I'm just trying
to fill his very big boots for a short while until I too give up ;-)
> My apologies to Allan for misspelling his name too - It was 3.30 am or
> so when i wrote this and I was well overdue for a nap.
I didn't mean to attack you personally, but being a Swede with an
'unusual' name and having lived in the UK for the past 15 years I have
found that unfortunately the vast majority of English speaking
clients/'friends' just cannot accept learning a new name. Most insist
on calling me Mark (WTF!!!!). I personally had two separate instances
of that yesterday, and your 'mistake' made my cup overflow, I guess.
> Still i think they're good ideas, and some of them worth discussion.
> Bad moods and basic table manners aside, do you have any reactions to
> the content?
Yes, and here they come.
On 31 Mar 2005, at 17:44, David Lee wrote:
> 1) < and > arrows appear when more tabs are open than fit. You scroll
> all the tabs left or right to see tabs offscreen. It scrolls one tab
> at a time.
>
> 2) When you use the keyboard to move through open files, the
> arrangement of tabs move to keep the currently open file's tab visible
> at all times.
>
> 3) The drop-down list of offscreen tabs should stay.
I think Allan's reply to you earlier identified what is in the works
and how the general consensus was regarding handling many open doc's in
tabs and so on. Perhaps I don't fully understand your points above, but
I don't see them as any better than Allan's existing proposals.
> 4) Make people aware that you can hit ctrl-cmd-n to get a new project
> window, drag the files you're currently working on in there and use
> the project drawer to flip between them. I just extrapolated this from
> one of Allen's other posts and it feels very promising.
> Can we be able to 'open these tabs in new project' with a menu command
> / shortcut? It's not the perfect long term solution but will always be
> useful whatever is.
Not sure I get your point there either. The way I (and others ?) work
is I create a TM project window for each project that I'm working on
and save the <ProjectName>.tmproj file into the root of that project
folder. As for flipping through files in the project drawer via
shortcuts much of that exist today, and the missing parts will be
improved in a future revision of the project drawer already planned.
> Oh yeah. I'm a split view junkie. Up-down, left-right, any
> combination. Just the way nature intended.
Discussed till boredom almost, and is planned.
> I'd love to see a good regular expression composer (Komodo does this
> superbly, Kdevelop well too).
Never used either of those, so don't grep what's so special about them.
But what would be nice to have is a simple Command (can be a bundle)
that takes the selected text - with some kind of identifiers in there
and then returns the regex for it. Sort of like this:
input:
<key>:[capture1]:</key>
<string>:[capture2]:</string>
output (on clipboard): (<key>(.+)</key>(?s:.*?)<string>(.+)</string>)
Slightly crude idea I know, but still lovely to have and would spare my
single 'brain'cell for other things ;-)
> And a well considered 'intellisense' implementation which can include
> your own completion items (and later, those in included files) in
> heaps of languages.
In what way does not snippets take care of this at the moment ?
> Multiple 'paste previous' / 'paste next' commands rewrite the last
> ones' output (which can probably be hacked by leaving it selected
> after each paste, but thats not ideal).
Not getting your point there, sorry. Have a look at Windows->Show
Clipboard History and explain what's missing in there ?
> A function / class browser.
Have you seen Kumar McMillan's excellent "Special Items..." in the
Default.tmbundle up on the SVN repos ?? It gives you most of what you
need, but can still be improved further by Allan inside TM rather than
as a bundle. (which I think is planned anyway)
> Better print output (allow choice of different font for printing;
> programmer fonts look terrible) & optionally include syntax
> highlighting & line numbers.
This printing business was a big thing back in Oct/Nov last year, and
Allan asked for the basic requirements from us users then. As a fairly
vocal supporter of printing then I have since only used the printing
features of TM twice. When I was working with <other leading Mac
editor> I used to print my code almost daily. Now I don't mainly due to
a change in workstyle/workflow, but also because of some of TM's
features. Try open document in new window, make fullscreen and then
increase the font size to suit, now lean back in your comfy chair
(reclining armchair that is ;-) ) and peruse your code screen by
screen. It's what I used to do on paper before, but now does on
screen. Much faster as well.
But yes, all of those printing features could/would be good to have as
well someday, and I'm 100% certain we will get them, but there's more
important things for Allan to address before then.
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
Hi there!
Using 1.1b5 on PBG4/867, 10.3.8, 512M RAM
searching this one line:
Sue Xxxxxxx 1244 Xxxx Street Bath ME 04530 USA
(it's wrapping-8 tabs between last name and street)
for this pattern:
^(*[^\t])\t(*[^\t]){8}\t
replacing with this:
$1\t$2\t
searching selection only, regex on, hit replace and find
1)spinning pizza wheel of death
2)swapping hard drive of death
3)watch swap go from 1 to 2 gig in less than a minute...
4)page faults between 2,000 and 20,000 every 2 seconds, cpu about
50-60% textmate
5)get scared, force quit
6)repeat....
Any thoughts? I'm guessing it's a stupid regex mistake on my part, but
I can't find it. Thanks for your help.
Cheers,
Dameron
Hi there!
I'm working with a bunch of addresses in tab-separated format. I
can find and replace to work with the columns, but I'd also like to be
able to do it manually, (columnar typing?). I vaguely remember some
example videos of columns of text floating around, and I searched the
list, but I'm not clear if it will suit my needs.
Problem: I can't select columns easily, because the tabs don't
align the data. Option, then Shift-Option-Right Arrow to select,
creates a rectangular selection based on the selection at the line of
origin (highlighted). I can't seem to find the way to have the text
actually line up in columns (if there is one..)
Is there a solution to this?
I hope this is clear enough, thanks for your time.
Cheers,
Dameron
Hi,
I saw a blip from the old wiki about a smart typing question.
Often when I'm writing something, I'll enter something like:
blah(
At this point it completes the )
I hit ", it completes it, so I'm left with:
blah("_")
Where _ is the cursor point.
Obviously, this is great and how smart typing is intended to be used
(btw, the smart typing upgrade in b5 works great). However, when I'm
done typing:
blah("blahblah_")
I wish there was a quick way to jump to the end of the snippet. Right
now I'm using the right arrow key, but it's inefficient because I have
to take my hand of the keyboard.
Is there a way to make it go to:
blah("blahblah")_
More efficiently than using the right arrow key? Like when you're
hitting the tab key for a snippet?
--
Thanks,
Jeremy Brown
InfoSend, Inc.
Systems Administrator
(714) 525-8600 x304
(714) 446-1482 Fax
CONFIDENTIALITY NOTICE: This email, including any attachments,
contains information from InfoSend, Inc., which may be confidential or
privileged. The information is intended to be for the use of the
individual or entity named above. If you are not the intended
recipient, be aware that any disclosure, copying, distribution or use
of the contents of this information is prohibited. If you have received
this email in error, please notify the sender immediately by "reply to
sender only" message and destroy all electronic and hard copies of the
communication, including attachments.
On Mar 31, 2005, at 7:57 AM, Robert Ullrey wrote:
> This reminds me that there was going to be a fix for xcode
> integration. Specifically changing an xcode project into a TM
> project. I see something like this in the Tools folder, but is it
> working yet? And if so, how.
svn co http://anon:anon@macromates.com/svn/Bundles/trunk/Tools/
XCProject/
cd XCProject
cc -ObjC -lobjc -Os -framework Foundation -std=c99
ConvertXcodeToTMProj.m XCProject.m -o testconvert
./testconvert <YourProjectName.xcode>/project.pbxproj
<YourProjectName,tmproj>
It works on several all of my projects, several of which are large
and complicated. If you get any errors, do send me a note. I can't
guarantee that it reads all Xcode projects in the universe yet, but
it will once I'm done with it. >:)
In the short term, I want to add a dropshell so that you can drag an
Xcode project and it will open a temporary tmproj representation in
TextMate.
In the long term, this will form the basis for a project source
plugin, when Allan implements that feature.
Enjoy,
Chris
It would be nice to be able to have multiple rows of document tabs
instead of just one row and the arrows on the right you have to click
on to get a menu list of the rest of your open documents.
Is there a way to get the full path of a file to display in the editor
window title?
Hi there!
Find and replace in 1.1b5-- search for \t, replace with \s, regex
box checked, looking in selected text. I got "s" instead of space:
3 Union Street
3sUnionsStreet
Thanks for your patience!
P.S. How do I type 3<tab> without having it become <h3></h3>? The
bundle editor didn't reveal any clues.
Cheers,
Dameron