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?
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:
Might be helpful.
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.
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:
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
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
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:
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.
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
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:
replacing with this:
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
5)get scared, force quit
Any thoughts? I'm guessing it's a stupid regex mistake on my part, but
I can't find it. Thanks for your help.
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.
I saw a blip from the old wiki about a smart typing question.
Often when I'm writing something, I'll enter something like:
At this point it completes the )
I hit ", it completes it, so I'm left with:
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
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:
More efficiently than using the right arrow key? Like when you're
hitting the tab key for a snippet?
(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:firstname.lastname@example.org/svn/Bundles/trunk/Tools/
cc -ObjC -lobjc -Os -framework Foundation -std=c99
ConvertXcodeToTMProj.m XCProject.m -o testconvert
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
In the long term, this will form the basis for a project source
plugin, when Allan implements that feature.