Not sure if anyone has done these yet but here are some simple drag
actions for images in CSS.
The second one if for dropping between url() so you can use the
background snippet for instance then drag an image between the brackets.
Image as a background:
File types:
png, jpg, jpeg, gif
Commands:
echo "background-image: url(\"$TM_DROPPED_FILE\");"
Scope:
meta.property-list.css
Image Path:
File types:
png, jpg, jpeg, gif
Commands
echo -n "\"$TM_DROPPED_FILE\""
meta.property-value.css
I don't really know how to ask this question in a simple manner so here
it goes:
I'm doing some HTML coding and need to add JavaScript using the
Prototype framework. In this early develpment phase I like to write
JavaScript embedded in HTML. When I write a script tag,
"source.js.embedded.html" gets added to the scope. How can I tell
TextMate to use features from the Prototype & Scriptaculous bundle in
addition to the JavaScript default one? Shifting languages is tedious
and messes up the highlighting.
I have a problem with Brett's "Wrap Text as Link with Title". It
works fine, also gets the link from the web, but then something like
this is inserted:
2006-10-23 13:38:42.367 CocoaDialog[569] InputManagersManager startup
<a href="http://macromates.com/" title="TextMate — The Missing Editor
for Mac OS X" >TextMate</a>
the second line is perfect, but i wonder where the first line came
from? i talked to brett about it but he is not able to reproduce the
error. any ideas?
thanks!
Tilman.
_______________________________________________________________
Tilman.
net citizen /// designer /// teacher
____ digital homes ::: personal http://www.tint.de ///
collective http://www.dkdl.de
____ analogue homes ::: germany /// nuernberg /// lauf ///
heuchling
____ mailto ::: tilman(a)tint.de
::: the future is in beta.
when I attempt to compile (read: typeset and view) a LaTeX document I
get the following errors:
/bin/bash: line 34: require_cmd: command not found /bin/bash: line 45:
latexErrWarnHtml.py: command not found Click Here to Preview
I am unable to figure out which script is responsible for these
errors. If anybody has had simmilar problems how did you fix them, or
if you know where these might be coming from then I could start
looking there.
Oh, and I am using the i-installer version of tex.
Further more I would like to propose using '1>&2' in scripts to pipe
output to the console where it can be more easily viewed for debugging
purposes.
-adam
Adam Hitchcock Macintosh software at InfImp.net No trees were harmed
in the sending of this message, however,
otaking(a)mac.com | cell - 734.769.0085 | aim - AlfredHi | pgp keys a
great number of electrons were severely inconvenienced.
The Latex file I am working on is getting so long that formatting is
taking a full minute, even for small changes. I realize I could
input chapters as separate files and not load them all each time, but
I prefer not to do this for navigation purposes. I saw on Haris'
blog, "I was editing an html file, and I used the internal html
preview window that it has, and then I left the window open. The
miracle that occurred is that as I continued editing, the preview
window was automatically updated instantly! Without me even having to
save the file!" This does not seem to work for the Latex bundle.
But even if it did, the TM internal preview does not respond to
pdfsync. So my wishful thoughts are for a "flash mode" for the
Latex bundle that is compatible with pdfsync. So many dreams are
coming true with all this good energy within this list, I thought I
would ask...
Jenny
Just a small change to the regex to handle two part url's (i.e.
site.com) which I had inadvertently ignored previously. Also limits
the domain to 2-3 characters because it now recognizes anything
joined by a dot (conjoined.twins). I thought this was easier than
trying to list every possible domain in the regex.
Okay, this is my version of the wrap text as link command. It seems
to be failing elegantly now, although I need some testing on other
installations as there are some inconsistencies between my two machines.
It recognizes a link in the clipboard, with or without the leading
protocol, and grabs the title for the page off the net to insert as
the title of the link. If there is no protocol on the link it will
attempt to use http://. If the link is bogus or unreachable it will
insert the link that it found but put "Unknown" for the title. Both
the link and the title are tab-stopped. I have it set up under CTRL-
SHIFT-L so that you can choose between the original and the link with
title. Even if you cut out the title grabbing part, it's still seems
like a better way to recognize a link in the clipboard and utilize it.
Brett
Hi!
I just was interested how you guys create screencasts. I looked a
little bit around in the net but could only find Snapz X Pro which
could do the task. Any cheap or free (as in beer) possibilities?
Would have needed it the last days for making some instructions.
Niels
When I start TextMate, it downloads the latest update. I click on
Install & Relaunch and get an "Install Failed" message. This has
happened every day this week.
I searched the archives and found a message that said this happens on
non-admin accounts, but without a fix.
I am an admin account, so something else must be going on.
Anyone else seeing this or any advice?
Bob