Is it possible to have "Soft Wrap" enabled for only a specific
bundle? I want to wrap text documents at 78/80 chars, and I know
TxtMate doesn't have "Hard Wrap" yet (hope it gets it some day ;))...
however, when I turn softwrap on, it seems to be on again until I
turn it off.
Anyway to avoid this?
Eric Coleman
I was wondering how to handle snippets for various XML types. For
example, I'm developing some snippets for the Quotation Exchange
Language [1]. Although QEL is just XML with a specific schema, its
snippets are totally unique and would be useless in any other XML
file. That makes me inclined to give the QEL snippets their own scope
(to avoid potential naming conflicts between tag triggers). But how
can this be done? It seems like I'd have to create a new language
type for QEL, but I'd simply be duplicating the XML bundle -- not
just for QEL but for all the XML file types I'm writing snippets for.
The thought of all that redundancy bothers me; perhaps there's some
way of "subclassing" the XML language type? Or is there an entirely
different way to handle this kind of thing?
Trevor
[1] http://www.amk.ca/qel/
How could I go use keystrokes to select text from the cursor to the
next (or previous) occurrence of a searched term? This would be
really helpful for automating tasks, for example, in quickly hacking
out macros that can operate on variable-length text fields (where a
"select until next tab" would be useful -- using ^W doesn't help with
URLs). I'm aware that I can get around this using find-and-replace of
an entire block of text via regular expressions, but was wondering if
there's something more procedural.
Thanks,
Shiran
Hi,
I would like to disable the automatic file backup in TM. I didn't find an
option in the preferences menu - could someone please tell me how to do
this?
THX,
Andreas
Hola,
As long as we don't have that snippet repository yet: here are two
small snippets I have been using a lot lately:
Variations on the "link" snippets:
[${1:mail}](mailto:${2:HREF})
[${1:file}](file:///${2:HREF})
Dan
Hi all,
unfortunately I modified "Slush & Poppies" theme and ruined the
colors. Is there a way to get back the original "Slush & Poppies"
theme with its standard colors?
THX,
Andreas
Hello,
i want to use textmate for my diploma. i am trying to use latex for this.
so, suddenly this massages appear. textmate ask me after i tried to
save a document for my root passwort. the templates of textmate do not
running if i want to build them.
i reinstalled latex and textmate. what i did wrong?
error Massage
Compiling LaTeX...
This is pdfeTeXk, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
Document Class: exam 2004/08/14 Version 2.2 by Philip Hirschhorn
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
! LaTeX Error: File `pdfsync.sty' not found.
./untitled
See the log file for details
untitled.log
Found 2 errors, and 0 warnings in 0 runs
I see where the subversion menua has the option of updateing the
entire project, but I do not see one for commiting the entire
project. Am I not seeing it, or does it not exist?
Thanks.
Hi All,
I'm sure the printing will get improved in the future but for the
minute I find it a bit limited (font size too big etc).
I've setup a command in the text bundle using a2ps (you can get this
from darwin ports, probably fink and other places as well).
Save: Nothing
Command(s): a2ps --center-title=`basename "$TM_FILEPATH"` --font-size
8 --pretty-print --columns 1 -M A4 -R --line-numbers 5 -o - - |
ps2pdf14 -sPAPERSIZE=a4 - /tmp/textmate_print.pdf && open /tmp/
textmate_print.pdf
Input: "Selected Text" or "Document"
Output: Discard
Activation: Key Equivalent - "Command P"
This will create a pdf called /tmp/textmate_print.pdf, and opens it
in Preview (or acroread, or whatever your default pdf viewer is). If
your happy with it you can just hit Command P to print it.
At the minute this prints in font size 8, but thats easy to change,
it also prints in A4, if you change this you'll need to change both -
M option to a2ps and the -sPAPERSIZE option to ps2pdf
jebw
I'm trying to add a Delete command to the Subversion bundle. I've got
the basics working, but now I'm trying to make it look nice.
Here's the command as it is now:
require_cmd "${TM_SVN:=svn}" "If you have installed svn, then you
need to either update your <tt>PATH</tt> or set the <tt>TM_SVN</tt>
shell variable (e.g. in Preferences / Advanced)"
rv=`CocoaDialog textbox --title "Delete from Repository" --string-
output --no-newline \
--informative-text "These files will be scheduled for deletion
during the next commit." \
--text "${TM_SELECTED_FILES:-$TM_FILEPATH}" --button1 "Delete" --
button2 "Cancel"`
if [ "$rv" == "Delete" ]; then
eval "$TM_SVN" del "${TM_SELECTED_FILES:-$TM_FILEPATH}"
elif [ "$rv" == "No" ]; then
exit
elif [ "$rv" == "Cancel" ]; then
exit
fi
What I want is the list of files in the CocoaDialog textbox to be
newline-separated, and have the enclosing quotes removed (ideally,
the project base path as well). I don't have any bash-fu to figure
this out.
Help please?
Thanks,
Ken Scott