Howdy;
Finally getting around to tweaking some html snippets, and I'm stuck -
this is what I have:
<li id="${1}"><a href="#">$1</a></li>$2
what I'm trying to accomplish is (replacing the spaces with underscores and
making it all lowercase)
<li id="this_is_a_mixed_case_string_with_spaces"><a href="#">This is a Mixed
case String with SPACES</a></li>
I'd really like to understand how to accomplish this (rather than just get
an answer).
thanks in advance
saul
Hi-
Using Ruby 1.9: ruby 1.9.2dev (2009-02-12 trunk 22259) [i386-
darwin9.6.0].
It's unhappy with the non-ASCII right-double-quotes, left-double-
quotes and ellipsis around line 20 in the command "Typeset & View
(PDF)."
Adding:
# coding: utf-8
On the second line fixes things...
HTH, Charles
Hey there, I've got my Textmate Flex compiling working great with the
AS3 bundle, I'm just wondering if there's a way I can clear
flashlog.txt everytime I compile so I don't have to keep doing this
manually?
Cheers :)
Ali
--------------------------------------------------------------------------
Alistair Colling
Interactive Developer
FPP Brand Communications (Newcastle upon Tyne)
The Courtyard
Dinsdale Place
Sandyford
Newcastle upon Tyne NE2 1BD
Telephone: +44 (0)191 261 6662
Fax: +44 (0)191 233 2511
This transmission is confidential and intended solely for the person or organisation to whom it is addressed.
It may contain privileged and confidential information. If you are not the intended recipient, you should not
copy, distribute or take any action in reliance on it. If you have received this transmission in error, please
notify the sender at the e-mail address above.
FPP Design Limited. Reg. Office: The Courtyard, Dinsdale Place, Sandyford, Newcastle upon Tyne NE2 1BD.
Registered Number 3775564. Registered in England and Wales. Visit our website at http://www.fpp.net/
Hello,
I'm hoping someone can help. I don't know if I am doing something
wrong, or if there is a bug in the CSS bundle in TM 1.5.8.
For starters, when I open up a blank CSS document and hit opt-esc, the
only option I get is "title 2" (weird that it's not 1). If I'm reading
the CSS bundle correctly, I should get a list including #, *, ., and a
bunch of HTMl tags.
If I enter a selector and curly braces manually, and then hit opt-esc
inside the braces, I get the word "display" inserted. Again, from the
bundle definition (and logically), I would expect a list of CSS
property names.
Finally, if I enter a property name manually, followed by ':' (and get
the automatic ';' appended after the cursor), and then hit opt-esc,
all I get is '--', rather than a list of relevant attributes.
Would someone please help me understand what's going on here?
For what it's worth, I am working with a fresh "pristine" copy of the
"Bundles" directory in ~/Library/Application Support/TextMate/ out of
the "Pristine Copy" folder.
Thanks,
Avram
"I realized something was wrong when I looked over and saw the mast in
the water." - Dean Barker, Team New Zealand skipper
Hi
Does anyone know is there is a way to preserve syntax highlighting and print in color??
[f] www.flickr.com/photos/bitstream
[c] 416.668.0034
[w] www.bitstream.ca
--------------------------------------------
"...all improvisation is life in search of a style."
- Bruce Mau,'LifeStyle'
One annoying issue I have with the projects panel is every time I click on a binary, textmate tries to display a text version of it...if it happens to be a large zip, textmate sometimes crashes.
Is there some way to avoid this, outside of removing all binaries from your project panel?
[f] www.flickr.com/photos/bitstream
[c] 416.668.0034
[w] www.bitstream.ca
--------------------------------------------
"...all improvisation is life in search of a style."
- Bruce Mau,'LifeStyle'
Hi All,
I patched the ant bundle as described in a post earlier in January which fixes the build command but the build target command is not working.
After selecting the target text "main" in the build.xml file and then Ant->build target, I get the following error.
/tmp/temp_textmate.9KC3Zv:33: undefined method `attributes' for nil:NilClass (NoMethodError)
Any ideas what might be wrong, or maybe there is new bundle I could get?
Thanks in advance.
Is there any way to parse the open document (via regex search) and
return the results as choices for TextMate::UI.complete?
The command might search for "\$TM_\w+" so each time I want to type
$TM_SOMETHING I could get a list of completions built from what I've
typed elsewhere in the document.
I've got a basic TextMate::UI command up and running
<http://pastie.textmate.org/421465>, and as for a parser I've been
using this command: <http://pastie.textmate.org/421473> to complete
stuff thats been indented by 4 tabs (only bummer about this command is
that the document needs to be saved).
I'd love to combine these commands, but since I don't know Ruby I
don't have any idea what to do. (I scraped both those commands off
this list).
Thanks in advance.
I think the problem is "pstricks". If this package is involved, TM
uses automatically "latex" although "pdflatex" is set as default
engine. You can try it with this small example:
\documentclass{scrreprt}
\usepackage{auto-pst-pdf}
\usepackage{pstricks}
\begin{document}
Hallo
\end{document}
The package "auto-pst-pdf" should make using "pstricks" with
"pdflatex" possible but TM doesn't consider this. The only way I
found to avoid this is using the line
%!TEX TS-program = pdflatex
at the beginning of the code.
If there's anyone who has a better idea - I'm open for suggestions.
Am 19.03.2009 um 19:25 schrieb Allan Odgaard:
> On 19 Mar 2009, at 03:21, Gewitterbukk wrote:
>
>> [...] For example when I'm using packages like "auto-pst-
>> pdf" or "pstricks" TM uses "latex" to compile although "pdflatex" is
>> set as default engine.
>
> It tries to be smart, seeing that ‘pstricks’ works with postscript,
> not PDF. But I assume auto-pst-pdf makes it work with PDF or similar,
> and the command should either be even smarter, or not smart at all!?!
>
>> When I try to compile LaTeX-Code for the first time, I get the window
>> which is shown in the screenshot "pic1" attached in the appendix of
>> this mail.
>
> You say “for the first time”, does that mean the error is gone if you
> compile again, or that you resolved the problem?