|
|
Re: Enter key, LaTeX Macros and commands: msg#00258
editors.textmate.general
|
Subject: |
Re: Enter key, LaTeX Macros and commands |
Thanks, but ...
On 25 Jun 2005, at 11:16 Uhr, Allan Odgaard wrote:
On 25/06/2005, at 10.35, Berndt Farwer wrote:
Firstly, the insertion of an \item is bound to -^-, the Enter key
or fn-Return, but all I ever get is a new line without the \item.
That's because the scope was also set. So only when the caret is in
the scope set for the snippet, would enter do this -- I'm trying to
establish the convention that enter continues the thing one is in,
i.e. for line comments it continue the comment, for bullet points
(using *, •, or ·) in plain text, it makes a new point on the next
line etc.
As for LaTeX, the grammar rule to actually markup the scope for
\item was temporarily disabled. I've enabled it in the grammar on
the repository and updated the scope for the snippet. So this will
work for 1.1b15, or if you do an svn checkout of the LaTeX bundle.
... after a svn checkout, I see the scope you mention, but still get
only new lines.
|
|