Hello all,
I just found this [1], maybe it could help with the email bundle?
> Universal AddressService
>
> I’ve updated AddressService to a Universal Binary, and relicensed
> it under the LGPL.
>
> AddressService is an OS X system service that lets you select a
> part of a person’s first or last name and replace it with their
> addresses or phone numbers. It’s handy for quick entry into an
> email or chat session.
>
> I haven’t been able to thoroughly test it on an Intel mac, so
> please let me know if you find any issues.
[1]: http://michael-mccracken.net/wp/?p=74
James,
I just want to say thank you for a wonderful regex guide. That's the
first time I've been able to "get" it. I've attempted to understand
regex past the absolute basics a few times before with little luck.
I've also been learning a few things about TextMate.
Thanks
Mike Gregoire
For those who have been asking me when there will be another beta...
James Edward Gray II
Begin forwarded message:
> From: Dave Thomas <d...(a)pragprog.com>
> Date: Nov 8, 9:31 am
> Subject: New beta of the TextMate book is available
> To: Ruby on Rails: Talk
>
>
> Folks:
>
> I've uploaded the B1.03 version of Jame Edward Gray II's TextMate
> book. Here's what James says about the release:
>
> Sorry for the delay folks, but hopefully it will have been worth
> the
> wait. The next beta of the TextMate book is ready and it's just
> full of
> requested content!
>
> Several people have expressed to me the need for the book to cover
> TextMate's language grammars and I've been listening. The new beta
> contains a complete walkthrough of how to build a grammar, using
> JSON
> as an example. Beyond that, I've added coverage for the equally
> important preferences and themes. If you're wanting to use
> TextMate
> with custom syntaxes, this material should get you started.
>
> The other reason this beta took a bit is that I have been
> responding
> to your feedback. The community has provided tons of priceless
> advice
> for making the book better. Thanks so much for that! I've read
> through it all and tried to make improvements based on most of
> those great ideas. By all means, keep sending in the feedback.
> I want this book to be exactly what the community needs it to be.
>
> I use TextMate as my main code editor (and have for over a year) and
> I still
> learn new things every time I look through it.
>
> http://pragmaticprogrammer.com/titles/textmate
>
> Cheers
>
> Dave
>
The Rails bundle uses ⌃p for its params snippet, which drives me insane... everywhere else ⌃p means "up one line". When I change it to a tab trigger (and type "para"), the change won't stick. If I move to another bundle item and back, the activation type is back to "Key Equivalent". If I change it to "Tab Trigger" again, "para" shows up, but again the change doesn't stay.
The only way I've found to work around this is remove the params snippet.
Consider this bit of LaTeX:
$\frac{1}{\sigma} \cdot \xi \cdot \lambda$
the \sigma isn't scoped as a constant math character, where as \cdot,
\xi and \lambda are.
Sorry if I appear to be pointing things out rather than fixing them,
but the deadline for my thesis is rapidly approaching....
Sam
When trying to use the "Level 1 [setext]" or "Level 2 [setext]"
bundle commands I get the following output
Unknown option: n
Unknown option: 1
Usage: head [-options] <url>...
-m <method> use method for the request (default is 'HEAD')
-f make request even if head believes method is illegal
-b <base> Use the specified URL as base
-t <timeout> Set timeout value
-i <time> Set the If-Modified-Since header on the request
-c <conttype> use this content-type for POST, PUT, CHECKIN
-a Use text mode for content I/O
-p <proxyurl> use this as a proxy
-P don't load proxy settings from environment
-H <header> send this HTTP header (you can specify several)
-u Display method and URL before any response
-U Display request headers (implies -u)
-s Display response status code
-S Display response status chain
-e Display response headers
-d Do not display content
-o <format> Process HTML content in various ways
-v Show program version
-h Print this message
-x Extra debugging output
Here's the actual command for Level 1:
#!/bin/sh
if [[ $TM_LINE_INDEX == 0 && $TM_LINE_NUMBER != 1 ]]
then head -n$((TM_LINE_NUMBER-1))|tail -n1|sed 's/./=/g'
else echo -ne '=\t'
fi
I'm running TextMate Version 1.5.4 (1324) and have checked out the
latest bundles and support.
Any idea why this is happening?
Thanks
Mike Gregoire
Hi,
only two short questions.
1) Is it possible to open tm_dialog at a specific position? (Not via
auto remember)
2) If 1) yes: Would it be possible to create a TM variable which
holds the absolute screen position of the caret?
I want to open a tm_dialog at the position of the caret like
show_tool_tip it does.
Thanks
Hans
Dear all,
here is my new suggestion to type Japanese, Chinese within TM.
- press apple+shift+i to invoke the dialog (delete the old inputCJK
in beforehand)
- activate Kotoeri or whatever
- type as usual, choose kanji etc. with space and return
- if you once again RETURN the text is inserted
- press ESCAPE to dismiss
Comments?
TODO:
1) Find a way to open the dialog at the caret position.
2) Don't display the dialog header. Only the textfield (?)
3) to invoke the dialog with a specific input method.
Any hints?
Many thanks in advance
Hans
Dear all,
here comes the latest Hypersearch Bundle.
New:
'multi jump function':
If there are more than one occurrence of the search pattern within
one line you can click at each emphasised match (or in between - see
help) to jump to its position separately.
Changes:
-keyboard shortcuts are changed to TM's defaults; i.e. option+apple
+r,i,w
-output window displays the file name
--Here I had to hack the code for 'html_header'
----
export HTML_PAGE_TITLE="Hypersearch"
export HTML_WINDOW_TITLE="${TM_FILENAME:-untitled} - Hypersearch"
export HTML_SUB_TITLE="<big>$MTCH $CNT found for “$RES”</big>"
"${TM_RUBY:-ruby}" -r"$TM_SUPPORT_PATH/lib/web_preview.rb" -e 'puts
html_head(:window_title => ENV["HTML_WINDOW_TITLE"], :page_title =>
ENV["HTML_PAGE_TITLE"], :sub_title => ENV
["HTML_SUB_TITLE"], :html_head => "")'
----
Maybe it would be worth to change html_header in such a way that you
can specify window_title and page_title separately. web_preview.rb
has this functionality yet.
-Error messages are shown as tooltips
-you can specify a group for regexp like '>(.*?)<\/' to highlight
everything what is between '>' and '</' (see help)
-tiny format stuff
-I set the limit of output line to 3000
--The reason why is that if I close the HTML output page (with more
than 5000 lines) TM freezes for seconds! It takes roughly a minute!
ANY HINTS???
Bug fixes:
-\t, \n now works in regexp mode instead of \\t, \\n
-search within, and output of xml/html documents is now correct
-correct display of number of matches in case sensitive mode
As usual feedback is welcomed.
Have a nice day (or night)
Best,
Hans