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