Hi, the tidy feature used to create an xtml compliant document. Since
I upgraded to 1.5.5 it now creates an HTML 4.01 doc. How can I change
this back to XTML?
Thanks,
Dave
So...
I wrote this nice document in Markdown.
Looks exactly the way I want it in the preview window.
Uh...how do I save the generated HTML from within TextMate?
Sorry if this is a dumb question, I thought it would be obvious.
I could run the markdown.pl script from the command line but that
seems unnecessarily convoluted.
Thanks,
S
Hey all,
i thought putting :
TM_RUBY /opt/local/bin/ruby
into :
Preferences > Advanced > Shell Variables
was ok to run a rb file whith this Ruby
but i get allways :
RubyMate r6354 running Ruby r1.8.2 (/usr/bin/ruby)
>>> essai.rb
in the RubyMate Console.
then, the default Apple's Ruby :(
i think the env var name "TM_RUBY" is wrong ?
best,
Yvon
Hello:)
First I do not understand the changes in this script.
Certain users prefer to work with latex but without pstricks, why not
make two different scripts.
There is a little change in one line :
now
if [ -s "${PDF}" -a ! "$PDF" -ot "$FILE" ]; then
before
if [ -s "${PDF}" -a "$PDF" -nt "$FILE" ]; then .....
-ot instead -nt ? why ?
Greetings Alain Matthes
I am trying to wrap my mind around the RSpec gem, so I've installed
the RSpec bundle. I have a simple spec (see below) that requires the
RSCM gem that I have installed. When I run the spec from the command
line it runs find, but when I run it from within TextMate using the
RSpec bundle I get a load error (No such file to load -- rscm).
Do I need to do something special to access my gems from my spec?
spec1.rb
=======
require 'rscm'
context "A CVS log" do
specify "should parse a path name"
end
end
Thanks
Todd
Hello all.
I have been looking at Textmate and bluntly, have been blown away by the
balance it has gotten between a really narrow scope that is done really
really really well.
For example, "wrap each line" bundle command is just majic! I can't think
how many times I have had to do this by hand in Dreamweaver!
But I have a question that I am sure someone else has solved that I have not
found a solution for on the web.
That is, how do you integrate Textmate, with SVN and also manage sites?
Now, before ou just hit reply and say "SVNX" let me explain...
Dreamweaver has a nice feature, that is, it knows about all the files in the
site. if you change the location of a
file, change the name of a directory or the name of the file itself within
the site, it will run back through the entire site and update every link to
that file.
This is especially useful when you are re-coding sites and bringing them up
to the CSS age.
The problem with this, is if you do it, SVN doesn't see it and SVN then
complains about missing file X and added file Y when in fact it is a simpel
rename X to Y - the end result of this is polution orphans in the SVN
database (not a huge problem, unless you are using huge files)
Conversly, if you do the move from SVN (svn rename big_picture.jpg
little_picture.jpg) then Dreamweaver doesn't know about it and can't find
those 101 references to big_picture.jpg that just got moved (of course you
can do it with a find/replace, but this does not handle relative links).
One obvious solution is move it with SVN, then do a find / replace in
textmate.
But that doesn't handle relative links
(../../../img/myimages/little_picture.jpg being the same as
../myimages/little_picture.jpg)
So how do you do it? I think my answer lies in regex.....
Does anyone have a solution out there to this particular problem?
Regards
Mikel
Is there any more in-depth explanation anywhere about what alt-up/
down really does? I understand there's some sort of columnar
behavior, but when I use it in prose text, it seems to behave in a
rather baffling manner to me... I've been looking for an equivalent
to the (IMO very useful) ctrl-up/down functionality in Emacs (next
paragraph, or, rather, next empty line, basically) and thought
perhaps this might work somewhat like that -- and it seems to, if I
move to the beginning of the line first. (OK, so the "next paragraph"
functionality is a question of its own, I guess; is there something
like it?)
And while I'm on the topic of navigation (and things I miss from
Emacs ;-) -- if I accidentally press cmd-up or down, I completely
lose my current location. Any way of "undoing" something like that?
(In Emacs I used alt-x x or something like that, to switch position
with the position before the navigation.) It's not always that I
remember to set a bookmark before this sort of thing -- mainly
because it tends to be accidental :->
--
Magnus Lie Hetland
http://hetland.org
Sorry if this is a well-known issue, but I couldn't find anything
about it...
For some reason, completions no longer seem to work in my
installation of TextMate. Whether I press the escape button *or*
select Completion > Next Completion (or Previous Completion) from the
menu, all I gett is the system bell/beep.
Does anyone have any ideas about what could have caused this (have I
pressed some Forbidden Keyboard Comboâ„¢?) or, perhaps, how I could go
about figuring it out (or, preferably, even fixing it)?
--
Magnus Lie Hetland
http://hetland.org
I'm trying to do something a little weird and I'd like some help. It has
to do with tabs.
The local coding standard is to indent with hard tabs, 8 characters wide.
So far so good. But we want to avoid tabs within the line, after the
first non-whitespace character. Example:
int foo = 1234; // foo
int bar = 5678; // bar
int foobar = 12345678; // foobar
So before the "int" there should be a hard tab, but before the "=" and
"//" characters there should just be spaces. I'd like to use the tab key
for all of this (ie., <tab> i n t <space> f o o <tab> = 1 2 3 4 ...),
changing its behavior from hard tabs to soft tabs depending on where I am
within the line.
I wrote a command script that will actually do this and bound it to the
tab key with Activation: Key Equivalent. But, unfortunately stealing the
tab key like this breaks ordinary tab triggers and tabbing between snippet
fields.
Anyone have suggestions on how overload the tab key without losing what
it already does? I'd also accept some way of binding tab triggers
and snippets to some other keystroke.
--
Steve King, <steve(a)narbat.com>
Hi guys!
Trying out and loving textmate!
Got a question. on the HTML screen cast, it has img(tab) and image(tab) as
being bundle items for filling out self closing image tags for HTML.
Can't seem to get it working here.
I have the document as HTML, did a search
in "Select Bundle Item" for "img" and "image" and nothing comes up.
In the HTML bundle in the editor, nothing.
I can make a entry for it, but from the screen cast it looks like something
else is wrong with my setup.
Any ideas? Am I missing a key bundle?
Thanks!
Mikel