[SVN] r2362 (Latex)
Jeroen van der Ham
jeroen at je-ju.net
Sat Dec 3 09:38:09 UTC 2005
Charilaos Skiadas wrote:
> I have nothing against introducing an individual itemize snippet, but I
> am not sure what it buys you that can't be done by adding two more lines
> of ruby code to the universal command (other than not being triggered by
> tab any more, which I admit does bother me a bit.)
Maybe we shouldn't make the universal command not too universal, because
for the user it is hard to see what it really does.
Right now it has mixed behavior:
- Without a word: begin/end environment
- With a word:
- If that word is in the magic list:
- If that word is in the \text* range, it creates a \text* command
- If that word is one of the itemize, enumerate, etc, it creates
an environment.
- Else, create a command from that word.
I am sure that the universal command can be written so that it does the
above, even in a smart way with labels and items, etc.
But would the user really remember what it's for?
It was initially created based on the html command, where almost
everything is begin/end, with one or two exceptions, that are widely known.
With Latex, you have about as much commands as environments and when the
word is unknown, it is also unknown what is meant.
So maybe we should create two commands, one for completing commands and
another for completing environments. And find some better keys for this,
because ctrl-< sucks.
Jeroen.
More information about the textmate-dev
mailing list