Hi to all,
I'm finally moving to TextMate ß11 and I'm experimenting with some
personal customization.
I like to keep variables black and make language related very
contrasted with blue and red colors, ... including "equal" variable
affectation symbol, like in :
$a = 2;
Question : what scope the "equal" symbol should belong to ?
Same question with the "->" symbol like in: $this->property .
Thanks.
Dominique PERETTI
http://www.lachoseinteractive.net/
SvnX, a GUI for svn on Mac OS X (http://www.lachoseinteractive.net/en/
community/subversion/svnx)
Hi all,
I gave TextMate a try, I absolutely love it's feel. I'd definetly buy
it, if only it would support more text encodings besides Unicode and
iso-latin-1. Specifically, as a hungarian I'd need iso-latin-2
(iso-8859-2), but I assume there other people from other parts of the
world with similar concerns, needing different encodings.
I think SubEthaEdit solves this right, with an editable encodings list,
and an option to either convert the current text to the new encoding,
or "reopen" the text with a new encoding.
I'd be glad to help out with testing or coding or whatever to make this
work.
cheers,
Zoltan Varady
I tried dragging an image into the release notes (after setting the
theme to Markdown>Markdown) and got a bunch of binary data. Is this a
bug or did I not misunderstand the release notes? ;
Something that has been driving me crazy is that only when I am on an
XHTML page I could use XHTML snippet and only when I am on Rails
pages can I use Rails snippets. I should be able to use Rails
snippets in XHTML pages.
How can I got about doing that?
I was wondering if anyone had got the built-in HTML drag commands for
<img> and <css> to work in Textmate 1b5?
Currently if I drag a html or PDF file from the project window into a
HTML file I'm working on it will create a <a href=""> link, but if I
drag an image file or css file onto the HTML file, Textmate will insert
the raw source of the dragged file.
Any ideas where I am going wrong? I am using the following drag
commands (built-in):
<img>
File Types: png, PNG, jpeg, JPEG, jpg, JPG, gif, GIF
Commands: img=$TM_DROPPED_FILE alt=`echo $img | perl -pe
's/^(.*\/)?(.*?)(\..*)?$/$2/g' | tr '_-' ' '` sips -g pixelWidth -g
pixelHeight $img | awk '/pixelWidth/ { w=$2 } /pixelHeight/ { h=$2 }
END { printf("<img src=\"'"$img"'\" width=\"%d\" height=\"%d\"
alt=\"${0:'"$alt"'}\" />", w, h) }'
<css>
File Types: css
echo "<link href=\"$TM_DROPPED_FILE\" rel=\"stylesheet\"
type=\"text/css\" />"
Apologies if this has already been covered.
Mike
On running command "Markdown Preview" I get the following error:
/bin/bash: line 1: /lib/html.sh: No such file or directory /bin/bash:
line 20: htmlHeader: command not found
/bin/bash: line 22: /bin/Markdown.pl: No such file or directory
/bin/bash: line 24: htmlFooter: command not found
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
Hi,
Would it be possible to have included files in code-completion
settings in the theme editor.
I'm thinking of making property-specific completions for the css
syntax, and it would be helpful if frequently used sets of keywords
could be included as often as necessary to avoid it being really
massive. (things like colours, units, top left right etc.)
Also, on a similar note, would it be possible to block general
completions for a specific scope, ie. have a property such as
"use_general_comps" which could be set to 0. I find that pressing
escape often brings up options that shouldn't be present in the
particular scope, but are in other parts of the document.
eg:
.blah {
font-color: black;
}
#foo {
display: b<esc>
}
Pressing escape after "display: b" would offer "block", as part of
the 'display' property's completions, but would not suggest "blah"
from the class of the other selector, or even "black" from the font-
color's value. In a big file you can end up going through loads of
unnecessary stuff when one press is all that's necessary. (I know i
could type "blo" and then esc, but that's more typing).
In my opinion, for the way I work, this would be a very fast system
of coding.
Thanks,
Max
This is a lazy request.
Hoping towards moving more of my information into text files, I would
like a way of directly launching resources from URLs in a text file.
Imagine that I copy a bit of email that includes a web URL or a mailto
link to an inbox.txt file. When I go through inbox.txt, I would like
to just hit a key combination when the cursor is on the URL and have
it send to my browser or my mail program.
emacs-wiki/planner does this well (it even highlights clickable URLs).
Outside TextMate, one can also use ICeCoffEE
(http://web.sabi.net/nriley/software/), but that doesn't work in
TextMate.
So, how hard would it be for someone to write a command thingy to make
such functionality available in TextMate? I suppose one would have to
identify the beginning and end of the URL that the cursor is on and
send it to the system's "open" command. I don't have the time to
investigate this myself.
-- Kai (http://semantics-online.org/geek)