New WebPreview window (with Hacked Nibs)
Download the New TextMate WebPreview Window Nibs
I got rid of the drawer and moved all that stuff to the bottom.
Now it looks mildly less offensive.
thomas Aylott — design42 — subtleGradient — CrazyEgg
Dear all,
Here comes the next step:
There are quite a lot of new things in it so please also read the
HELP scratch.
In short terms:
Changes for 'Search':
- you can look across \n
- you can specify more the one regexp group
- If you select text (also across \n or \t) Hypersearch assumes that
you are looking for a string not via regexp. Thus it will change
RegExp option according to the content of your selection and escape
the string if needed automatically.
- you can display each RegExp group $1, $2, .. separately (useful
when using embedded parenthesis because hyperlinks don't work properly)
New function:
GetAllMatches
-based on a grouped regular expression or a single field delimiter it
outputs all matches table-like according to the chosen data format
-data formats are customizable via property lists by using TM or
Property List Editor (Edit GetAll Formats opens a project for that)
-you can create new formats based on 'new.plist' as template
-output behavior is selectable within the tm_dialog (insert, replace,
create new document,..)
-Search and GetAllMatches are based on the same plist, so you can use
Search to fine-tune your regexp and then open GetAllMatches with the
latest regexp
-five data formats are predefined:
TAB 1\t2\t3\n
HTML <tr><td>1</td><td>2</td><td>3</td></tr>
HTMLindented
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
HTMLTAB
<table>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
</table>
CSV "1","2","3"\n
Now you can e.g.
-convert XML to TAB or visa versa;
-type a table with TAB and RETURN within your HTML document and
convert this selection to HTML syntax by specifying the field
delimiter TAB;
-get all function names or string variables out of your script file
-and and and ... see two examples in the HELP
!! Comments, bug reports, and suggestions are welcomed as always.
To install the bundle it is recommended to delete the old Hypersearch
bundle in beforehand.
Cheers,
Hans
PS I get many mails mentioning that Hypersearch is also quite useful
for learning regular expressions ;)
Hi all,
It appears that the 'Show TODO list' command doesn't honour a
project's Folder Pattern. For example, amongst other directories,
I've excluded the 'log' directory from my Rails project to speed up
'Find in Project', etc. As a test, I manually added a TODO to the
development log. If I 'Show TODO list', I see this:

Is it possible/easy for the TODO bundle to support this?
P.S. I'd investigate this further myself, however at this point I'm
relatively new to Ruby.
Carpe viam,
Mike
Michael Larocque
Chief Cook and Bottle Washer
Prolumina Communications Inc.
http://prolumina.com/~mlarocque/
hello all,
i am working with files that contain mixed ascii and binary data. if
i open the file in textMate and then resave it (without editing it's
contents), parts of the binary data are incorrectly interpreted as
line-breaks and the data becomes corrupted.
is there a way to create an ascii/binary hybrid file-type that
textMate understands so that i can edit the ascii without ruining the
binary data?
sorry if this is an obvious question, i'm still a textMate newb.
thanks in advance,
chad
I'm getting an odd error when I hit TAB after the 'blog' snippet in
the blogging bundle. Here's an output:
Title: untitled
blog: =>
tm_dialog: server version at v4, this tool at v5 (they need to match)
/Users/afrench/Library/Application Support/TextMate/Support/lib/
dialog.rb:37:in `load': Cannot parse a NULL or zero-length data
(PropertyListError)
from /Users/afrench/Library/Application Support/TextMate/Support/lib/
dialog.rb:37:in `menu'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Blogging.tmbundle/Support/lib/blogging.rb:603:in `choose_blog_endpoint'
from /tmp/temp_textmate.Ykuqtx:3
Looks like version of tm_dialog is out of sync. Any help would be
appreciated.
===
~Adam
Textmate version: Version 1.5.4 (1324)
Last checked for update: Nov 14 8:42AM central time
Not sure if this is possible or not.
I'd like to setup a window that has an editable text field along with
a drop-down of options. If the user selects an item from the drop-
down, that items value should populate the text field. When the user
is done with the window I want whatever is in the text field, whether
manually typed or pre-populated from the drop-down to be returned by
tm_dialog.
This is similar to what Allan shows in his screencast, except that
instead of an TSTableView I'm using an NSPopUpButton. Also, I want
the NSTextField to be editable, but I don't want anything the user
types there to update the NSAraryController/NSPopUpButton.
I've almost got this working. I've setup an NSArrayController that
I'm populating via tm_dialog. I've bound the NSPopUpButtons's
contentValues to the NSArray Controller. However, whenever I edit the
text field it ends up updating the drop-down. Doh.
Also, I want to give this window working Cancel/Okay buttons.
Is this doable? Do I need to use IB Connections instead of bindings
to tie the pop-up to the text field?
Hints/Tips appreciated,
j.
Hello all,
I must be missing something simple, but this morning my TM refused to
open any projects, old or new. I am using build 1324. The projects I
tried to open are all listed under Window, but they are not
visible. I closed all other apps, rebooted, but the problem remains.
Jenny
Hello!
I try to develop my first bundle for Jess, a rule base language.
For that I defined a snippet
(defrule ${1:rulename}
"${2:description}"
${3:patterns}
=>
${4:actions}
)
Now I want to invoke an other snippets
(MAIN::$1)
invoked by main->tab
at ${3:patterns}. But when I hit the tab, the cursor jumps to
${4:actions}. So, can you recommend something? I think I could simply
use key bindings. But I like much more the tab trigger.
Helge
Helge Hartmann
Antwort an: helge.hartmann(a)gmx.de
Hi,
Possibly an "I've missed the obvious solution" scenario, but is there
an easy way to print a list of the shortcuts/snippets available for a
particular bundle? Clicking on the cog at the bottom of the window
allows you to see them all, but it would be useful when learning a
new bundle not to have to take ones fingers off the keys.
I watched Allan's screencast of working with Objective-C files
yesterday and it made me realise I am probably missing out on a lot
of untapped power!
Thanks,
Nigel
I'm starting to learn [Mozart-Oz](http://www.mozart-oz.org/) and I
could not find a bundle for this programming language on the TextMate
repository. Has someone worked on this already?
Thanks,
Alan
--
Alan Schmitt <http://alan.petitepomme.net/>
The hacker: someone who figured things out and made something cool
happen.
.O.
..O
OOO