-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hello,
the update to the PHP-Syntax for @uses is not working. The correct
line for the match is this:
match = '\@(a(ccess|uthor)|c(ategory|opyright)|global|li(cense|nk)|pa
(ckage|ram)|return|s(ee|ince|tatic|ubpackage)|t(hrows|odo)|v(ar|
ersion)|uses)\b';
The last brace was closed to early and didn't include the "uses", so
the @ of uses isn't matched. Please fix this.
Thanks in advance,
Simon Ruderich
- ----
> privacy is necessary
> using http://gnupg.org
> public key id: 0x6115F804EFB33229 http://ruderich.com/
simonruderich.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFFPoEaYRX4BO+zMikRCgMsAKCpeBhNvp9TaK1BDsEhdzdSGMA8hwCeIOwW
4VzxJ6KkWmA3K9NaDhVqF0U=
=tgnn
-----END PGP SIGNATURE-----
Hi, perhaps I haven't understood the syntax correctly, but I have
tried editing the LaTeX configuration file and I am getting no love.
I wanted to add a quote environment. I tried the following which has
no apparent effect:
quote = {
triggers = ( 'qu', 'quote');
};
All the best, Mark
_________________
Mark Eli Kalderon
Department of Philosophy
University College London
Gower Street
London WC1E 6BT
Dept webpage: http://www.ucl.ac.uk/philosophy
Personal wepage: http://www.kalderon.demon.co.uk
Hello!
I found an earlier post in the archiv files, but it seems, that this
command isn´t realised yet.
My Latex projects contain multiple files and the Code Brwoser only
shows the outline of the active one.
What I need, is an outline of the whole project. Are there any
solutions?
Helge
Is it possible to provide a list of options to someone in a snippet?
For example at a tabstop, rather than them writing in text, you could
provide a list of options that they could select from?
I'm imagining something similar to the one that pops up to
disambiguate shortcuts.
Ed
Is it possible to have a repeating tabstop in a snippet?
for example it would be great to have a snippet to insert a html option list:
<select>
<option value="$1">$2</option>
</select>
You tab to $1, fill in the value, tab to $2, fill in the content, then
when you press tab again, it inserts another option:
<select>
<option value="1">Cherry</option>
<option value="$3">$4</option>
</select>
And carries on doing so for an arbitrarily long time.
If it's possible to do this I'd be very grateful.
Thanks
Ed
On 24.10.2006, at 13:27, textmate-request(a)lists.macromates.com wrote:
> Heiko Witte schrieb:
>> Hi,
>>
>> every mail from this mailing list is signed with a PGP key
>> (0x7B7C623764AB61E7). Where can I get this public key ? I already
>> searched the mailing lists but couldn't find any related topic.
>>
>> Thanks
>>
>> Heiko
>
> Every email? I just searched pgp.mit.edu for this key and came up with
> my own key ;)
>
> http://pgp.mit.edu:11371/pks/lookup?search=0x7B7C623764AB61E7&op=index
>
> Regards, Horst
I added your key to my gpg keychain, now everything's fine =)
Thanks, Heiko
Hi,
every mail from this mailing list is signed with a PGP key
(0x7B7C623764AB61E7). Where can I get this public key ? I already
searched the mailing lists but couldn't find any related topic.
Thanks
Heiko
FYI for LaTeX bundle maintainers and users:
I recently updated XeTeX (to v0.995, 16-Aug) and discovered that
previewing in TextMate had become kind of cranky (though running
xelatex from the command line still worked fine).
The crankiness: using "Typeset & View (PDF)", the first page of
output would be the following, in Computer Modern:
[zf ]preparseRendererAAT,ICU
The correct LaTeX output would appear starting on the next page.
After a heap of digging around (resulting in [1], which pointed to a
path problem with xkeyval.tex), I figured out that the call to
kpsewhich is causing the wrong paths to get expanded (in particular,
the texmf.tetex versions were taking precedence over texmf.local).
This seems to fix it for me:
Old: export TEXINPUTS="$TM_BUNDLE_SUPPORT/tex//:$(kpsewhich --expand-
var '$TEXINPUTS')"
New: export TEXINPUTS="$TM_BUNDLE_SUPPORT/tex//:$(kpsewhich -progname
$TEX --expand-var '$TEXINPUTS')"
HTH, as they used to say.
--ds
[1] http://www.tug.org/pipermail/xetex/2006-August/004700.html
To add on to James' nifty drag commands, here's mine for adding a
complete background line in a definition. It's tab stopped a little
differently than the normal background command, as I have modified
mine to the way that my brain works.
I'm not sure how the rest of you will feel about the newline at the
end, it works for me with the way I format my code. Feel free to
pull it and the -e argument out from the echo statement.
File Types: png, jpeg, jpg, gif
echo -ne "background:\${1: #\${2:DDD}} url('$TM_DROPPED_FILE')\${3: \$
{4:repeat/repeat-x/repeat-y/no-repeat} \${5:scroll/fixed} \${6:top/
center/bottom/x-%/x-pos} \${7:left/center/right/y-%/y-pos}};\n\$0"
Scope: meta.property-list.css
Brett Terpstra : Art Director
Circle Six Design, Inc.
111 Riverfront Dr, Suite 204
..................................................
p: 507.459.4398
877.858.4332
f: 1.866.540.3063
e: brett(a)circlesixdesign.com
http://www.circlesixdesign.com
..................................................

Brett Terpstra : Art Director
Circle Six Design, Inc.
111 Riverfront Dr, Suite 204
..................................................
p: 507.459.4398
877.858.4332
f: 1.866.540.3063
e: brett(a)circlesixdesign.com
http://www.circlesixdesign.com
..................................................
Is there a way to scope a snippet in the CSS bundle to mimic the
Special: Return Inside Empty Open/Close Tags in the HTML bundle? I'd
like to have the same behavior between empty brackets, but they
obviously behave differently and I have a very vague understanding of
the language file at this point. I got the command to work the first
time, but now it adds an extra line break every time I hit enter.
Any pointers?
Thanks,
Brett
Brett Terpstra : Art Director
Circle Six Design, Inc.
111 Riverfront Dr, Suite 204
..................................................
p: 507.459.4398
877.858.4332
f: 1.866.540.3063
e: brett(a)circlesixdesign.com
http://www.circlesixdesign.com
..................................................
Not sure if anyone has done these yet but here are some simple drag
actions for images in CSS.
The second one if for dropping between url() so you can use the
background snippet for instance then drag an image between the brackets.
Image as a background:
File types:
png, jpg, jpeg, gif
Commands:
echo "background-image: url(\"$TM_DROPPED_FILE\");"
Scope:
meta.property-list.css
Image Path:
File types:
png, jpg, jpeg, gif
Commands
echo -n "\"$TM_DROPPED_FILE\""
meta.property-value.css
I don't really know how to ask this question in a simple manner so here
it goes:
I'm doing some HTML coding and need to add JavaScript using the
Prototype framework. In this early develpment phase I like to write
JavaScript embedded in HTML. When I write a script tag,
"source.js.embedded.html" gets added to the scope. How can I tell
TextMate to use features from the Prototype & Scriptaculous bundle in
addition to the JavaScript default one? Shifting languages is tedious
and messes up the highlighting.
I have a problem with Brett's "Wrap Text as Link with Title". It
works fine, also gets the link from the web, but then something like
this is inserted:
2006-10-23 13:38:42.367 CocoaDialog[569] InputManagersManager startup
<a href="http://macromates.com/" title="TextMate — The Missing Editor
for Mac OS X" >TextMate</a>
the second line is perfect, but i wonder where the first line came
from? i talked to brett about it but he is not able to reproduce the
error. any ideas?
thanks!
Tilman.
_______________________________________________________________
Tilman.
net citizen /// designer /// teacher
____ digital homes ::: personal http://www.tint.de ///
collective http://www.dkdl.de
____ analogue homes ::: germany /// nuernberg /// lauf ///
heuchling
____ mailto ::: tilman(a)tint.de
::: the future is in beta.
when I attempt to compile (read: typeset and view) a LaTeX document I
get the following errors:
/bin/bash: line 34: require_cmd: command not found /bin/bash: line 45:
latexErrWarnHtml.py: command not found Click Here to Preview
I am unable to figure out which script is responsible for these
errors. If anybody has had simmilar problems how did you fix them, or
if you know where these might be coming from then I could start
looking there.
Oh, and I am using the i-installer version of tex.
Further more I would like to propose using '1>&2' in scripts to pipe
output to the console where it can be more easily viewed for debugging
purposes.
-adam
Adam Hitchcock Macintosh software at InfImp.net No trees were harmed
in the sending of this message, however,
otaking(a)mac.com | cell - 734.769.0085 | aim - AlfredHi | pgp keys a
great number of electrons were severely inconvenienced.
The Latex file I am working on is getting so long that formatting is
taking a full minute, even for small changes. I realize I could
input chapters as separate files and not load them all each time, but
I prefer not to do this for navigation purposes. I saw on Haris'
blog, "I was editing an html file, and I used the internal html
preview window that it has, and then I left the window open. The
miracle that occurred is that as I continued editing, the preview
window was automatically updated instantly! Without me even having to
save the file!" This does not seem to work for the Latex bundle.
But even if it did, the TM internal preview does not respond to
pdfsync. So my wishful thoughts are for a "flash mode" for the
Latex bundle that is compatible with pdfsync. So many dreams are
coming true with all this good energy within this list, I thought I
would ask...
Jenny
Just a small change to the regex to handle two part url's (i.e.
site.com) which I had inadvertently ignored previously. Also limits
the domain to 2-3 characters because it now recognizes anything
joined by a dot (conjoined.twins). I thought this was easier than
trying to list every possible domain in the regex.
Dear all,
maybe you know the bundle 'Find All in Document'. This script lists
all occurrences for a specific search pattern as an HTML page. You
can click on a line and you jump to that line in the document.
I rewrote the script and I renamed it to 'Hypersearch'. (see attachment)
Changes/Improvements:
- case insensitive search
- result is shown as a table with line numbers (i.e. a better line
distinction)
- search result within a line is highlighted using bold and italics
- there is no need to save your file in beforehand
- it is 'relatively' easy to change the code
- the code is 'rather' unicode save (i.e. It is not a problem to find
a Japanese string. Only some regular expressions are not supported yet.)
- tabs and spaces are shown like the source code (tabs are replaced
by four spaces)
- < and > are shown correctly
- displays the number of lines which match against the search pattern
Problems:
- I tried to implement to jump not only to the line but also to the
right column but unfortunately it works only for ASCII. If there is
e.g. a utf-8 'ö' or a Japanese character within the line the column
number didn't fit. I used perl's pos() function but I get only the
numbers of bytes. Hints are welcomed!!
- Case insensitive search works but not for accented characters like
ç, ä, é etc. You have to use e.g. the pattern 'ç|Ç' instead.
- You cannot search for '§¢' and '¢§'. These strings are used
internally.
The access key is ctrl+shift+f.
Implementation is done with CocoaDialog, grep, sed, and a bit perl
within bash.
If someone find some bugs or have improvements etc., please don't
hesitate to write me!
In other words, COMMENTS ARE WELCOMED!
Best,
Hans-Joerg Bibiko
Okay, this is my version of the wrap text as link command. It seems
to be failing elegantly now, although I need some testing on other
installations as there are some inconsistencies between my two machines.
It recognizes a link in the clipboard, with or without the leading
protocol, and grabs the title for the page off the net to insert as
the title of the link. If there is no protocol on the link it will
attempt to use http://. If the link is bogus or unreachable it will
insert the link that it found but put "Unknown" for the title. Both
the link and the title are tab-stopped. I have it set up under CTRL-
SHIFT-L so that you can choose between the original and the link with
title. Even if you cut out the title grabbing part, it's still seems
like a better way to recognize a link in the clipboard and utilize it.
Brett
Hi!
I just was interested how you guys create screencasts. I looked a
little bit around in the net but could only find Snapz X Pro which
could do the task. Any cheap or free (as in beer) possibilities?
Would have needed it the last days for making some instructions.
Niels
When I start TextMate, it downloads the latest update. I click on
Install & Relaunch and get an "Install Failed" message. This has
happened every day this week.
I searched the archives and found a message that said this happens on
non-admin accounts, but without a fix.
I am an admin account, so something else must be going on.
Anyone else seeing this or any advice?
Bob
Is it possible to define a shell variable by referencing another shell
variable? Here's an example of what I am trying to do:
(These are project variables)
TM_FLEX_ROOT=$TM_PROJECT_DIRECTORY/flex
TM_SERVICES=$FLEX_ROOT/config/WEB-INF/flex/services-config.xml
Thanks
Todd
Hello,
I have been playing with the existing Erlang bundle to improve it a bit
and I have trouble adding code folding.
Here is a simple Erlang function:
start(Var) ->
test(Var),
%% Comment
ok.
The last dot marks the end of the function.
I know that the end of the function is not at the same indent level that
the start marker, but this is always the case in Erlang.
I try to match the end marker, with any number of spaces / tabs at the
beginning of the line but at best, start and stop marks are put in place
but not foldable.
I suppose this is because Textmate does some checks on the number of
spaces or tabs but is there a way to ignore this match ?
If not, is there an estimated release date for this feature ?
Thank you !
--
Mickaël Rémond
http://www.process-one.net/
As a recovering vimaholic, I miss special highlighting of (FIXME|TODO|
XXX) in my source. (I realize that I can get a list of TODOs with C-
S-t, but it's nice to have things like "XXX: broken" or "FIXME
dsandler:" leap out at me as I'm skimming code.)
I seem to be able to hack these rules into individual languages; for
example, in Python, I changed the comment.line.number-sign.py pattern
thusly:
{ name = 'comment.line.number-sign.py';
begin = '#';
end = '$';
patterns = (
{ name = 'todo.todo';
match = '(TODO)( \S*:|:?)';
},
{ name = 'todo.fixme';
match = '(FIXME)( \S*:|:?)';
},
{ name = 'todo.xxx';
match = '(XXX)( \S*:|:?)';
},
{ name = 'todo.changed';
match = '(CHANGED)( \S*:|:?)';
},
);
},
(This seemed to require changing Python's line-comment pattern from a
'match' to a begin/end kind of thing.)
With these scopes, you can now set all TODOs to a given color, or
pick different colors for each, etc. (perhaps matching the colors up
with those in the "Show TODO List" command).
So, is there any way to apply this kind of new scope to to (comments
in) all languages at once, or do I (or the TextMate BDFL) have to go
and integrate it into each one by hand?
Thanks,
--ds
Hello everyone,
The short story is that running ARD (Apple Remote Desktop) Client is
the culprit that is stealing the key sequence.
I don't know why ARD steals the key sequence, but turning it off
(System Preference - under Sharing) eliminates this problem for me.
I'd like to run the ARD client, so if anyone knows how to have the
ARD client run without it stealing the crtl-esc key sequence, I'd
like to hear about it.
I hope this ends the problem for others as well.
peace,
icb
Ira Cary Blanco
Marketing & Media
Samson Technologies Corp.
Samson | Hartke | Zoom
voice: 631.784.2200 x107
fax: 631.784.2201
email: blanco(a)samsontech.com
web: samsontech.com
Hi,
I've been using TM for quite some time now and it's a great editor.
The last weeks I had to write some code for a site using MODx
(www.modxcms.com)
MODx uses some special tags:
[[Snippet]]
[!Noncaching-Snippet!]
{{Chunk}}
[~link~]
[*attribute*]
I added some code to the HTML-Bundle for recognizing this which works
quite good.
modx = { patterns = (
{ name = 'meta.tag.inline.modx.snippet';
begin = '(\[\[)(\w*)(.*?)';
end = '(\]\])';
captures =
{ 1 = { name = 'punctuation.modx.snippet'; };
2 = { name = 'entity.name.tag.modx.snippet'; };
};
},
{ name = 'meta.tag.inline.modx.snippet.nocache';
begin = '(\[\!)(\w*)(.*?)';
end = '(\!\])';
captures =
{ 1 = { name = 'punctuation.modx.nocachesnippet'; };
2 = { name =
'entity.name.tag.modx.snippet.nocache'; };
};
},
{ name = 'meta.tag.inline.modx.link';
begin = '(\[\~)(\w*)';
end = '\~\]';
captures =
{ 1 = { name = 'punctuation.modx.link'; };
2 = { name =
'entity.name.tag.modx.snippet.nocache'; };
};
},
{ name = 'meta.tag.inline.modx.setting';
begin = '(\[\()(\w*)';
end = '(\)\])';
captures =
{ 1 = { name = 'punctuation.modx.setting'; };
2 = { name = 'entity.name.tag.modx.setting'; };
};
},
{ name = 'meta.tag.inline.modx.chunk';
begin = '({{)(\w*)';
end = '(}})';
captures =
{ 1 = { name = 'punctuation.modx.chunk'; };
2 = { name = 'entity.name.tag.modx.chunk'; };
};
},
{ name = 'meta.tag.inline.modx.attribute';
begin = '(\[\*)(\w*)';
end = '(\*\])';
captures =
{ 1 = { name = 'punctuation.modx.attribute'; };
2 = { name = 'entity.name.tag.modx.attribute'; };
};
},
{ name = 'variable.parameter.modx';
match = '(&\w+)=';
},
{ name = 'string.quoted.modx';
begin = '`';
end = '`';
},
{ name = 'invalid.illegal.modx.bad-snippetcall';
match = '(\[[\[\!])(\w+)(\s+)(.+?)([\!\]]\])';
},
);
};
Now my problem is:
There are some Snippet-calls which take parameters:
[[Snippet? ¶meter=`value` ¶meter2=`value2`]]
I tried to define the parameters as variable.parameter.modx and the
values as string.quoted.modx but TM doesn't seem to recognize this.
Also when I write a MODx Tag into a html-string (e.g. <a
href="[(base_url)]">...) TM will ignore it.
Last I tried to highlight invalid snippet calls (e.g. [[Snippet
¶m... (missing ?) or [[Snippet? ¶m='foo' (normal quotation
mark)) but this won't work either.
Can you tell me what I did wrong? :)
Regards
Max Lohrmann