There must be a keyboard shortcut to switch between tabs in the
document window, but I just cannot figure out what. Could anybody
enlighten me?
Thanks,
Raymond
Good day to all!
TextMate is heavenly; a beautiful and logical application that just
gets better and better.
It would be so, so nice though if the find in project dialogue had
larger text boxes. For large scale, web site wide changes, it would
be utterly convenient to have some room to work with large blocks of
code.
Allan, THANK YOU!
happy and registered addict,
Matt Erker
Web Developer
TOKY Branding + Design
Hello all,
I'm not sure if this is where I'm supposed to ask or not, but I
thought I'd ask anyway.
I'm making a bundle for ExpressionEngine (http://www.pmachine.com/).
So far, I've got a bunch of snippets which are working out really
nice. I'd like to have a language definition file though so the EE
tags can be highlighted and folded. I can't wrap my head around how
these language files are put together though, so I thought I'd ask if
there was a wizard out there who could make it for me?
Some example EE tags:
Single Tag:
{assign_variable:variable_name="variable_replacement"}
or
{path='weblog/comments'}
Tag Pairs:
{exp:comment:entries sort="asc" limit="20"}
{comment}
<p>By {name} on {comment_date format="%Y %m %d"}</p>
{/exp:comment:entries}
or
{exp:weblog:month_links weblog="news" limit="50"}
{month}, {year}<br />
{/exp:weblog:month_links}
Conditionals:
{if username == "joe"}
<h1>Hi Joe!</h1>
{/if}
Tags are normally used inside of XHTML/HTML, but can be used within
other languages like XML, CSS, JavaScript, etc. All tag pairs will
always begin with {exp:*} and end with {/exp:*}. You can see examples
of EE variables inside of the tag pairs. A lot of tag pairs have
parameters, but not all of them. Sometimes people use double quotes,
other times single quotes.
I'm not sure what else to add. If someone would be willing to help me
out on this I'd really appreciate it.
Thanks,
Chris
Whe I scroll horizontally to a certain position in one file. Then switch
tabs to another file and switch back, the horizontal scroll bar is reset to
the left edge of the page. Would be nice to not reset like that since
sometimes I need to copy/paste between files and to have to scroll
horizontally everytime I switch back is an annoyance. I have Soft Wrap
switched off.
Thanks,
Ed
To the TextMate Community,
In the SVN repository you will find a new bundle called
ImageBrowser.tmbundle. ImageBrowser opens a new HTML window with a
list of all images (and their dimensions) located in or beneath the
directory of currently open document. There is also a preview pane
for zooming in/out on the image. Opening ImageBrowser is (by default)
set to ctrl+shift+p.
The bundle has noticeable shortcomings; hopefully we can work
together to resolve them. For instance, clicking on a thumbnail
currently inserts the relative filepath into the frontmost document.
Hopefully this behaviour will change to something more sophisticated,
like inserting a snippet or something clever; suggestions welcome!
Regards,
Rich Barton
Hi,
My reading of the TextMate blog entry on keybinding for switchers
leads me to think I can bind (say) the numeric keypad "enter"
key with:
{
"#\U0003" = "moveToBeginningOfLine:";
}
In the appropriate .dict file. Unfortunately that doesn't seem
to work.
Are there other issues in binding numeric keypad keys? Apologies
if this is a stupid question: I'm a complete OS/X neophyte.
Stu
Seems it's time to pull out the good old article about writing good
subjects:
http://www.useit.com/alertbox/980906.html
In particular, don't start your subjects with [ feature request ] or
“just a small…” etc.
If you want to stress that it's a request, just use [REQ].
Why? Well, this is how my mailbox (for this list) currently looks:
It's not all bad, and I could resize the subject column -- but
there's something about the irrational trying to change the world
rather than adapt! :)
>> Although the problem might not effect a majority of the TextMate
>> users (how many people use tablets for everything on their
>> computer?), it is still a very fundamental part of the feature
>> set. That's why I believe it deserves a little attention (read:
>> "slider" :)
>>
>
> Sorry to be blunt, but this idea strikes me as absurd ;)
>
> a) you will be able to disable re-selection in b17 (see my other
> letter on the subject)
> b) if Mail doesn't have the problem, clearly it's just a matter of
> replicating what Mail does, rather than let the user work it out by
> disabling features.
What's absurd is your "blunt" answer to what was clearly a joke...
The *main* point was that even though it might not affect a lot of
people, I still hoped it would be considered important enough not to
be dropped all the way down at the bottom of the feature request
list. That's all... Ho well...
Hi all,
I've some pages with mixed html and php code, with .php extension, so
TM see them as "php".
If there is a # sign in a line, all the rest of line will show in the
comment color, even there are other tags and words:
for example:
h1 {color: #003366; margin: 20px; background-color: #ADD8E6;
padding: 5px; text-shadow: black 0px 0px 5px;}
the substring after # is all violet and not white
<br /> Safari 2.0 e` l'unico browser usabile</p>
after the # the string "unico browser usabile" is all violet,
although "Safari 2.0 e` l" is white.
If I use ' instead of ' all the rest will be green and not white :)
Ok, the page is (x)html with php included, but I must save it with
the .php extension and when TM open it is correct to see it *also* as
php.
Is it possible to see correctly both php and html (and javascript)
parts?
Thanks in advance
Salvo
I have a question about editing python in TextMate. Is it possible
to change the folding rules so that class/function definitions don't
stop folding when they encounter a blank line?
Thanks,
Jordan