It's been a while, but I've finally got some free time to improve the
Markdown bundle. I see brad and duff have done most of the hard work
of getting the bundle to work with the new syntax selection (thanks
guys!), so what I'm looking for is requests for further improvement.
What are you guys using it for? What snippets, commands, etc would be useful?
I'm also going to put some time into improving the regular expressions
(esp. with the new regexp toolkit) and hopefully will be able to do a
better job of matching some of markdown's more complicated structures
(eg. lists and code blocks).
Hadley
hi there,
I use tm as editor for subversion commits from the commandline (as
opposed to from within TextMate) and as of lately, the messages I
edit in tm somehow aren't saved for the svn command... after saving
and closing the document window svn prints:
tomster@Burroughs# svn ci
Log message unchanged or not specified
a)bort, c)ontinue, e)dit
any idas?
thanks,
tom
--
Tom Lazar
http://tomster.org
In the HMTL bundle, and in the XHTML bundle as well, there are snippets
like this:
<h1>${1:`echo $TM_SELECTED_TEXT`}$0</h1>
activated via a tab trigger, "h1" in this case. I am completely missing
the point here. Why is the echo command there? How can there possibly
be a selected text when activating through a tab trigger?
The way it is right now, if I type h1, press tab, type my heading, and
press tab again, the heading is selected. Was that the intended
behavior? If so, could someone give me an example of how this is
usefull? I haven't played much with html, so I might just be missing
something obvious here.
If this is not the intended behavior, should we change all those
snippets to simply <h1>${1:heading}</h1>$0, or <h1>$0</h1> ? Are these
snippets redundant in the presence of Ctrl-space, and if so would it
make sense to have them have a slightly richer outcome, like <h1
class"$1">... ?
Ok, enough questions for now,
Haris
Folder exclude patterns stopped working in beta9 for me.
!(.*/\.[^/]*|\_darcs|vendor\/rails|CVS|~\.nib|\.(framework|app|pbproj|pbxproj|xcode|bundle))$
but both
_darcs and vendor/rails show up and are included with command-t
--
Tobi
http://www.snowdevil.ca - Snowboards that don't suck
http://www.hieraki.org - Open source book authoring
http://blog.leetsoft.com - Technical weblog
Hi,
I've just upgraded to b9. In project mode (otherwise it does not
occur) if I type a ~ or ´ TextMate offers to delete the file with
the "Would you like to move the selected files to the Trash?" dialog
box.
I did an update svn checkout, trashed TextMate preferences, and tried
in two different machines (running Tiger). I had to go back to b8.
Any hints?
Regards,
Rui
Whenever a LaTeX document has sectioning commands, I get the following
in the console:
TextMate regex error: undefined group option
pattern: \{[^{}\n]*(?R)?[^{}\n]*\}
Don't know if it's the expected behavior or not, thought I'd report it.
( I also get various messages of the form "TextMate debug: $1 bits
used" upon exit, where $1 is a number depending on what bundles have
been loaded, but somehow I don't feel that worried about that. )
Haris
So I wanted to open souce in Safari in TextMate even after javascript html
injection, if any one is interested you can add this to the scripts menu, I
pipe it through tidy though one wouldn't need to.
sam d
--start
tell application "Safari" to do JavaScript "document.body.outerHTML;" in
first document
set s to the result
set filename to random number from 1 to 10000
set the temp_file to ((path to the temporary items folder) as string) &
filename & ".html"
open for access temp_file with write permission
write s to (temp_file as alias) as string
close temp_file
set f to POSIX path of temp_file
do shell script "tidy -i '" & f & "' '" & f & "'| ~/bin/tm -a"
--end
Suppose you have two snippets, like:
\\begin{${1:name}}
$2
\\end{${1:name}}
and
\\emph{${1:emphasized text...}}
and suppose we want to insert the second snippet while editing $2 of
the first snippet. Then the snippet will not expand. On the other hand,
working only with the first snippet, once we are done editing $2 and
press tab, we will conveniently move out of the snippet.
One the other hand, we could have the first snippet as:
\\begin{${1:name}}
$0
\\end{${1:name}}
This has the advantage that the second snippet will work while editing
$0, but the disadvantage that tabbing will no longer take us out of the
first snippet.
Questions:
1) Is there a workaround to make both things possible?
2) More generally is it possible, or planned in the future, to support
activating a new snippet while in the process of completing another
snippet?
3) If there is no workaround, do people have a preference on which of
the two situations is more useful?
thanks,
Haris
Hi,
I'm setting up my environment on Tiger from scratch and TM is giving
me lip with the "Pipe text through" in the Web Preview. Markdown.pl
lives in:
~/usr/local/bin/Markdown.pl
which i what I've placed in the Pipe through field. Permissions on
the script are correct: chmod +x /usr/local/bin/markdown.pl
TM tells me: "/bin/bash: line 1: /Users/tim/usr/local/bin/
Markdown.pl: No such file or directory"
by .bash_profile has: export PATH=$PATH:/usr/local/bin:/usr/local/
php5/bin:/usr/sbin
in it. Any ideas. I probably missing something really basic.
Thanks,
-t
On 20 mai 05, at 03:53, Allan Odgaard wrote:
> this is one of the reasons I keep these betas as unofficial,
> beacause these things are more work in progress than usual!
I just wonder if it's a good thing to have Beta 9 as the "official"
download on MacUpdate with no explanation at all...