Hi Allan,
this got buried in another thread so I'm reposting.
When several commands have the same shortcut
a tooltip list appears and one has to scroll down
and then hit enter to choose one.
Wouldn't it be convenient if by default
the topmost element in the list would be selected?
This way, it would be sufficient to hit enter
in order to choose the first element (one keypress
less in many cases).
But maybe you have reasons not to like this idea.
Thanks,
Piero
Hi Mark,
It Works perfectly. That's excellent. It fits exactly what I needed
Thanks !
F
----- Message d'origine ----
De : Mark Eli Kalderon <eli(a)markelikalderon.com>
À : TextMate users <textmate(a)lists.macromates.com>
Envoyé le : Samedi, 25 Novembre 2006, 12h32mn 35s
Objet : Re: [TxMt] Word Count ?
You need to generate a pdf to use the enclosed command. Hope this
helps, Mark
On 25 Nov 2006, at 11:10, Francois wrote:
> Hello All,
>
> I am writing a document un LaTeX and I would like to make a word
> count. I search online manuals but did not find any word count
> function... does-it exist ?
>
> Thanks
>
> Francois
>
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate(a)lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
______________________________________________________________________
For new threads USE THIS: textmate(a)lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate
Not sure if this has anything to do with the recent update, but the
bibliography completion command seems to be broken. Neither the key
command nor calling it from the LaTeX bundle menu seems to work.
Pretty sure that I haven't done anything to break it since I have
been too busy to play with TM lately ;). Best, Mark
Allan, is there any chance of recompiling the plug-in as a universal binary? Is the source available anywhere?
The bookmarks catalogue works, but the history doesn't.
2006-11-23 15:35:40.018 Quicksilver[1198] *** -[NSBundle load]: Error loading code /Users/grant/Library/Application Support/Quicksilver/PlugIns/OmniWeb Module.qsplugin/Contents/MacOS/OmniWeb Module for bundle /Users/grant/Library/Application Support/Quicksilver/PlugIns/OmniWeb Module.qsplugin, error code 2 (link edit error code 0, error number 0 ())
Sorry to post this here, but there's no obvious email address for your non-TextMate stuff.
Hello all,
I'm a new TextMate user and just joined this list. I use Wordpress
and am located in timezone +0100, so I found it very annoying not to
be able to specify my post dates right from TextMate. After some
digging around in the Wordpress code, I think I found a quick fix to
this problem (which has to do with the way Wordpress converts dates
in regard to timezones).
Application of the fix is described here:
http://macromates.com/wiki/Blogging/WordPress
I would appreciate feedback (on this list or privately) if you should
encounter errors.
Enjoy,
Martin
Sorry to post this, but I've tried google and macosxhints and
couldn't find it.
I recently reinstalled my mac and on the old one, folders appeared
first in the finder when sorting on name. I remember I went into some
system file and changed the name string of "Folder" into "
Folder" (with a space) so that they would get sorted first above all
others. Anyone know anything about this, or have a better solution?
(I promise I will save the hint this time)
Andreas
I figured out how to all-purpose-ify the image drag command. Now
with one command, it can handle multiple situations. If you drag it:
Outside a selector/property (source.css): nothing happens
After a property (meta.property-value.css): inserts url('path/
image.jpg')
Inside of empty parentheses in a property value: inserts 'path/
image.jpg'
Inside of single quotes in a property value: inserts path/image.jpg
Inside a property list, outside a value: inserts a full background:
shortcut tag.
Suggestions welcome.
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
..................................................
perlop(3):
The "=>" operator is a synonym for the comma, but forces any word (con-
sisting entirely of word characters) to its left to be interpreted as a
string (as of 5.001). This includes words that might otherwise be con-
sidered a constant or function call.
For example:
{
format => 'html',
server => 'localhost',
}
Currently, 'format' has a scope of support.function.perl, while 'server' is source.perl.
\b\w+\s*=> would match, but would should the scope be? string.quoted.other? And how to give it higher precedence than support.function.perl?
I have the TextMate blog on an RSS subscription but there's a lot
more going on out there. Any chance someone could set up an aggregate
feed?
Cheers,
JC.
BBEdit has a nice feature called Hard Wrap that prompts for a column
width, then hard wraps the selected text to that width. I would like
to do the same thing in TextMate, but it doesn't seem possible. The
Text > Reformat Paragraph command wraps to the window, not a
specified length. Is there another way? Thanks,
Trevor
Hi,
I just tried out the new version of markdown_to_help.rb. It works
perfectly. Many thanks! (Also with images via
echo "<base href='tm-file://${TM_BUNDLE_SUPPORT// /%20}/
help.markdown'>")
Now I have a tiny suggestion for an improvement:
I added a href back to TOC to each jump address. That means if you
click lets say at the TOC entry 3.1.7, it jumps to 3.1.7 BlaBla and
if you click at 3.1.7 it will jump back to TOC. That would increase a
bit the navigation behaviour for large help files for instance. I've
chosen the id=sect_0 as address for TOC.
I attach the modified markdown_to_help.rb to this mail as an example.
Maybe the only thing which should be written better is the style
attribute 'text-decoration:none' (I added it because it looks
better ?). Maybe place this style to the css?
Best,
Hans
Hi all,
Every now and then a new bundle or item comes along that messes up
one of the triggers perfectly committed to muscle memory...
It would be great if there were an easy way to select an item in the
bundle editor based on trigger. For example when the 'shared trigger'
menu shows up, if an entry is selected and alt+Enter is pressed, it
would show in the bundle editor. Or similar when using the new 'key
equivalent' search in the Select Bundle Item window.
Gerd
I have expanded on Jonathan LaCour's TurboGears bundle, mainly adding
in lots of snippets that have (for me) vastly speeded up creating
models and forms in TurboGears. There's not much in there of interest
to anyone not using TG, except for a couple of generic Python snippets
I put in cause I got bored of typing *args, **kwargs.
For TGers, an example of using the form snippets is to type form→ to
create a new form, then field→ to choose and insert a field into it,
then once you get to the validator tab stop type valid→ to choose and
insert a validator. After that you have to manually move to the end
of the field snippet to insert another field, but then you can just
rinse and repeat as necessary.
If, like me, you are often sent a list of fields to be put on a form,
if you copy them one by one in reverse order you will have them in
your paste history and can paste them into the filed names as you go
through using cmd+v for the first and command+shift+v for the others
(does anyone know a command to copy a list into your paste history?).
Anyway, it allows me to knock out a thousand lines of forms in a
couple of hours (admittedly the layout is very javascript-y, so it
could be fitted into a lot less lines). Similar things can be
achieved with models.
Any comments, corrections and additions will be very gratefully received.
Ed
Hello all,
What is the best way to suppress decorators from the Symbol list when
doing Python development?
I'm doing some TurboGears development, which uses Python's decorator
syntax heavily in spots.
In essence, the code looks like this:
@expose()
def foo(self):
pass
@expose()
def bar(self):
pass
@expose()
def baz(self):
pass
The problem is that when I either "Go to Symbol", or click the Symbol
menu, the symbol list is littered with the @expose decorators.
Currently, the Symbol menu looks like this:
@expose
foo(self)
@expose
bar(self)
@expose
baz(self)
I'd prefer for it to look like this instead:
foo(self)
bar(self)
baz(self)
I thought that it would be a matter of subtracting
"meta.function.decorator.python" from the Symbol List scope selector,
but I tried that to no avail. Any advice you can provide is
appreciated
Thanks,
Mike
Hi there.
I've checked in some changes to the ActionScript bundle:
* All "build" commands have been assigned "TextMate Standard"
keystrokes (⌘+R, ⌘+B)
* A "New Function" command with the standard keystroke (⇧+↩) creates a
function with the current word (selected or previous)
Expect a lot of activity in the bundle in the coming days.
Thanks to Allan for the svn account :)
--
Ale Muñoz
http://sofanaranja.comhttp://bomberstudios.com
Thanks for all the recent improvements!
Some remarks on Build & Run:
- log output from the running program is still messed up (spaces and
tabs are not displayed as intended)
- the progress indicator is somewhat annoying during run
Thanks
Gerd
>What do you get if you open a new document, type "puts `echo $PATH`"
>in the first line and press ctrl-shift-E?
Nothing.
>Also, can you paste your environment.plist file contents?
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://
www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PATH</key>
<string>/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/
TeXLive/bin/powerpc-apple-darwin-current</string>
</dict>
</plist>
>Haris
Özgür
--
Özgür Gökmen | og(a)pyromedia.org
Haris: You might like to know that environment.plist doesn't work
with me. Option-esc prints the
following:
\footcite{/Applications/TextMate.app/Contents/SharedSupport/Support/
bin/LatexCitekeys.rb:157:
command not found: kpsewhich -show-path=tex
/Applications/TextMate.app/Contents/SharedSupport/Support/bin/
LatexCitekeys.rb:157: command not
found: kpsewhich -show-path=bib
cite-key}
Rebooting does not help either. I will stick with the shell variable
solution.
Özgür
On Nov 22, 2006, at 9:05 PM, Charilaos Skiadas wrote:
> You need to log out and then back in for the change to show up.
--
Özgür Gökmen | og(a)pyromedia.org
Hi All,
Is it possible to call a "Bundle command" from a tm_dialog dialogue ?
--
Best regards,
David Jack Olrik <david(a)olrik.dk> http://david.olrik.dk
GnuPG fingerprint C290 0A4A 0CCC CBA8 2B37 E18D 01D2 F6EF 2E61 9894
["The first rule of Perl club is You do not talk about Perl club"]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I've been poking again around in the bundle editor.(Yes the Bundle
editor is very addictive)
The default command : TextMate > create HTML from selection is very
convenient.
However, I had the Idea, to have the same thing as a drag command
(without the styles), so one could just write a post and drag the code
snippets in from The drawer ( file extension code of something)
I tried to replace the variable content of TM_SELECTED_TEXT with
something like :
`cat "TM_DROPPED_FILE"`, but it doesn't output anything just the HTML
tags until the pre tags.
Could it be done easily, using the same requires in RUBY.
That way, one could just write along, while dragging the code in,
without loosing focus of the document window.
Wouldn't that be nice ?
Any Ideas ?
regards, marios
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: This might change in the future
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFXZ3t8tSzPOYuZvQRAqBxAKCUyKqXu/u/1+fRGh3PV9sDmegZHgCeKOeX
vpft0q1X5hNM2NPdWaBEUNs=
=UmSW
-----END PGP SIGNATURE-----
Hi,
I'm trying to figure out why, when I type something like this:
void foo(int bar,
int baz)
it does not get indented like the manual says it should according to
indentNextLinePattern?
I've also found that this:
if (foo)
printf("blah");
also doesn't get automatically indented.
I'm using Version 1.5.4 (1349) and have done an 'Update All Bundles'
from the 'GetBundle' bundle.
The Indentation Rules preference directly from the C bundle look like
this:
{ decreaseIndentPattern = '(?x)
^ (.*\*/)? \s* \} ( [^}{"'']* \{ | \s* while \s* \( .* )? [;\s]*
(//.*|/\*.*\*/\s*)? $
| ^ \s* (public|private|protected): \s* $
';
increaseIndentPattern = '^.*\{[^}"'']*$|^\s*(public|private|
protected):\s*$';
indentNextLinePattern = '^(?!.*[};:]\s*(//|/\*.*\*/\s*$)).*[^\s;:{}]
\s*$';
unIndentedLinePattern = '^\s*((/\*|\*/|//|#|template\b.*?>(?!\(.*\))|
@protocol|@interface|@implementation|@end).*)?$';
}
I guess this is a two-part question:
1. Why weren't `<` and `>` included as a smartTypingPair for
Markdown? Since
those are the characters used to surround in-line URLs that should
become
clickable links, it seems like it should be there so you could
just highlight
a URL and type `<`. This seems pretty obvious though, so maybe
this pair was
omitted intentionally for some reason I haven't caught onto?
2. Since the scope in Markdown includes `text.html`, why doesn't
that pair
get pulled from the HTML bundle's preferences? Is it because there
are
explicitly defined pairs for a more specific scope in this case
(`text.html.markdown`)?
Just curious. Thanks.
Rob
Hello (sorry for my bad english)
1) Insert a macro applied at a selection :
selection --> \<caret and choice>{selection} --> \macro{selection}
If i want to apply a macro like \fbox or colorbox, i would like to
make this :
i've an expression $\gamma\leq3$ and i want \fbox{$\gamma\leq3$}
i would like to select $\gamma\leq3$ and with a shortcut get this:
\<caret>{$\gamma\leq3$} and now i can write fbox or colorbox ?
I miss the feature ?
2) Is it a possible in a special environment to use a special langage
grammar,
and/or a special coloring syntax and/or a special completion ??
for exemple
\begin{pspicture} .... \end{pdpicture}
or
\begin{tikzpicture} .... \end{tikzpicture}
I give these environments because there are rich with a lot of macros
like beamer, listings
Greetings Alain Matthes