Howdy. I'm new here. So far, I really like what I see in TextMate.
In other text editors I've worked in, when you select some text and launch
the find/replace dialog, the "find" field automatically gets populated with
the selected text.
Is it possible to set TextMate behave this way?
Thanks.
I know this one can be done. I've been digging, but can't seem to figure it
out.
I'm using the bundle editor to create a bunch of snippets. Because I have
to create so many of them, I like them categorized.
I'm looking to do something similar to what I see in the CSS > Background
bundle. That is, a top-level category of snippets, plus sub-menus that
contain other snippets.
How does one go about setting this up?
Thanks.
- Scott
Embarrassingly simple question - how do I change the page set-up in
TextMate? I need to print landscape rather than portrait from an HTML
preview, and can't seem to see how to do it. Running 10.5.3.
TIA
R
--
Richard Dyce MA (Cantab.) MBCS MIET
i've been searching around, and i can't seem to figure out how to have
textmate highlight the current line of the cursor. i see the "Line
Highlight" in the preferences of the theme, but i can't seem to make
it work.
i know i'm probably missing the obvious, but how can i accomplish this?
thanks.
---
chad gulley
Hi,
The project I am currently working on requires me to write xml
configuration files for a custom application for experience sampling.
The files contain embedded python scripts, contained in the following
regions:
<script event="OnLoad">
<![CDATA[
python script
]]>
</script>
I know that TextMate is able to deal with embedded regions that have a
different language deffinition than the main file (like php and
javascript sections in HTML) so I was trying to set this up for XML so I
can have proper syntax highlighting for python. So far, though, I have
not had any luck with this. I tried adding the following in the xml
language definition, both right after the section for embedded java and,
when that didn't work, right after the section for CDATA comments, but
it doesn't seem to work:
{ name = 'source.python.embedded.xml';
begin = '<script.*?}>\s*?<!\[CDATA\[';
end = ']]>\s*?<script/>';
beginCaptures = { 0 = { name = 'punctuation.section.embedded.begin.xml'; }; };
endCaptures = { 0 = { name = 'punctuation.section.embedded.end.xml'; }; };
patterns = ( { include = 'source.python'; } );
},
This was based on the example for embedded java, but obviously I either
didn't understand what the java example does, or I didn't specify the
begin and end strings correctly. I also suspect that since there is
already a definition for CDATA comments, this needs to be in a specific
place to override that definition.
Any help with getting this to work would be greatly appreciated. The
scripts can be quite long, so having proper syntax highlighting would
make things much easier.
Thanks so much,
Pedja
--
http://www.fastmail.fm - Faster than the air-speed velocity of an
unladen european swallow
I seem to be having problems with my Web Preview in (Markdown/
MultiMarkdown).
I'm trying to use the "Image" link, but the web preview does not show
the image, but if I select "Markdown->MultiMarkdown->Generate Output
and Open in Browser" it works just fine. I've tried specifying both a
full path and a relative path.
Also, if I try with the web preview, select "Show Source", save the
source to a HTML file, and then open the file, it shows both images
just fine.
====CODE====
## Normal Link Test ##
An [example](http://www.google.com/ "Title")
## Image Link Test ##
A full path image link: ![Image1](/Users/brian/Desktop/snap-01.png
"Image Title")
A relative path image link: ![Image2](snap-01.png "Image Title")
====CODE====
----
Brian H
binarynomad(a)gmail.com
http://www.binarynomad.com
Hello,
I do a lot of programming in fortran and I like textmate. However there are
a few small things that dont work properly.
In punchcard fortran, comments begin on first column with "c" or "C".
Textmate does not indent them correctly. If I cut and paste some existing
comments, these get indented. I tried using
unIndentedLinePattern = '^\s*[cC]\s*.*$';
in "Indentation Rules" but it does not work. Can somebody help me with this
?
Thanks
praveen
--
http://pc.freeshell.org
I just got an idea: could this be due to the fact that the "child"-documents
are in other folders than the main document?
folder structure is like
folder "main" -> main document + bib-file
folder "sub1" -> sub-document1
folder "sub2" -> sub-document2
.
.
If this is the problem, how to handle it?
--
View this message in context: http://www.nabble.com/Textmate-Latex%3A-Citation-Inclusion-does-not-work-tp…
Sent from the textmate users mailing list archive at Nabble.com.
Before I go mad and spend ages re-inventing the wheel, is there
something in/for TM that I have missed that would allow me to take a
selected code sample and save it in some way that it could be
presented in another html page?
(ideally wrapped with some styling hooks for CSS so syntax could be
highlighted.
e.g. converting <div> to <span class="tag_div"><div></span>
TIA