Hey all,
i'm in search of a * GOOD * xhtml indenter that's to say indenting
like :
<a href="..."
onclick="..."><img src="..."
alt="..."
title="..."/></a>
and not (* BADLY *) like :
<a href="...">
<img src="..." .../>
</a>
because in that case blank spaces are added ...
if it doesn't exists, is it simple to write a "snippet" (never done) ?
best
Yvon
Is there anyway to recover a file lost when TextMate crashed? I was
submitting a post using the blogging bundle. When it asked for the
name of the post, I tried to scroll up in the document to see my
paragraph. After that, TextMate would not respond at all. I could not
get back to that dialog box or access the document.
Since I had just copied all the text, I thought it was safe to Force
Quit TextMate. After restarting TextMate I was shocked to find my text
was not on the clipboard. Now, I am desparate to recover that file.
I've checked in /Users/JN/Library/Caches/TextMate for any files, but
didn't have any luck. Anyone else have any ideas where TextMate might
store a file that is being edited but is not currently saved?
Maybe I missed this in the release notes, but TM used to reopen all
my working files when I launched it, and now it doesn't.
I'm searching the help and release notes to no avail... has this been
disabled?
Cheers,
--
Josh DiMauro
josh(a)metacarpal.net
http://blog.metacarpal.net
When trying to use the "Fetch Post" command in the Blogging Bundle I
get this error...
/usr/lib/ruby/1.8/xmlrpc/parser.rb:469:in `parseMethodResponse':
Missing return value! (RuntimeError)
from /usr/lib/ruby/1.8/xmlrpc/client.rb:410:in `call2'
from /usr/lib/ruby/1.8/xmlrpc/client.rb:399:in `call'
from /Library/Application Support/TextMate/Bundles/Blogging.tmbundle/
Support/lib/metaweblog.rb:31:in `getRecentPosts'
from /Library/Application Support/TextMate/Bundles/Blogging.tmbundle/
Support/lib/blogging.rb:541:in `fetch'
from /Library/Application Support/TextMate/Bundles/Blogging.tmbundle/
Support/lib/blogging.rb:540:in `popen'
from /Library/Application Support/TextMate/Support/lib/progress.rb:
11:in `call_with_progress'
from /Library/Application Support/TextMate/Bundles/Blogging.tmbundle/
Support/lib/blogging.rb:540:in `fetch'
from /tmp/temp_textmate.0T31h8:3
TextMate 1.5.2 (1183)
WordPress 2.0.3
Using the Blogging Bundle that's in SVN as of this morning
burn http://mad@burn.madworld.com/xmlrpc.php?rsd
Any ideas?
Thanks,
Madison
I tried adding the following comment to the blog with no luck:
once again - you are my hero!
I hadnt really been using "wrap selection as link" before today...
One thing that caught me though -- can you grep the selection for
http, and/or edit the snippet to be:
<a href="http://${1:`
# if the clipboard contains a single line, let's use that
export __CF_USER_TEXT_ENCODING=$UID:0x8000100:0x8000100
if [[ $(pbpaste|wc -l) -eq 0 ]]
then pbpaste|sed 's/&/&/g'
else echo http://site.com/
fi
`}">${TM_SELECTED_TEXT:Link text...}</a>
--
dc
-----
David Clark
Web Specialist
Institute for Community Inclusion (http://www.communityinclusion.org/)
david.clark(a)umb.edu
(617) 287-4318
Hi,
Is there any way to specify the language of a file from the mate command?
I'm using mate in the middle of shell pipe lines so there isn't any
filename to pick up on.
The simplest example is "svn diff | mate". While I can set the
language to diff, that becomes the default for all piped in text, so
"cat README | mate" will use the diff language instead of plain text.
Am I missing something very obvious? (mate -h doesn't appear to show
anything relevant).
cheers,
mick
Perhaps I'm doing this wrong, but I'm trying to figure out a way to do
wrap text using the command-ctrl-shift-w shortcut while preserving my
code formatting.
If i have this:
<ul>
1
2
3
4
</ul>
then select my prospective list items, command-ctrl-shfit-w, and i get this:
<ul>
<li> 1</li>
<li> 2</li>
<li> 3</li>
<li> 4</li>
</ul>
but i'd really like this:
<ul>
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
</ul>
is this possible? is there any "special" way to select text so that
i'm just selecting the items i want and not the formatted-related tabs
or spaces? or is there yet a better way?
--
eric
If you have spelling checking as you type on is there anyway to get
the popup menu with the suggested spelling corrections (and other
context related stuff) without having to use the mouse?
Googling hasn't shown up anything for Tiger in general, but I would
be happy with something just in Textmate.
Thanks,
Dave.
Another ridiculously easy question that apparently I cannot solve
myself. :-/
I have the canonical "Hello World" program in a window:
#!/usr/bin/newlisp
(println "hello world")
I can run this by Select All followed by Execute Selection Inserting
Result easily enough, but I have spent some time looking for a more
straightforward Run or Execute command that just needs one
keystroke, but with no success. I may be bringing a BBEdit-way of
looking at things...
--
(<http://newlisper.blogspot.com/>)
Hi there. I've started trying out TextMate as a possible replacement
for BBEdit. It's really nice. I have a couple of questions that I've
not yet been able to find answers to in the help.
The opening parenthesis flashes quickly when I cursor forward over
the matching closing parenthesis. It doesn't appear to do it for the
other three cases: (the four being forward/backward : opening/
closing). Also, the flash is too quick and not very easy to see. Is
there a way of changing the behaviour in a bundle or is it part of
the UI that can't be changed...?
Also, how do I change the Select Enclosing Brackets menu command to
be ⌘B - I keep on getting some whistle when I forget that the
default is ⇧⌘B.
thanks - hope these questions aren't too easy for you :-)
--
(<http://newlisper.blogspot.com/>)