hello
I work actually on a new bundle LaTeX_Author and I would like If someone have an idea to code the control's structures below :
I think that's that's very common in a lot of languages :
% from package ifthen.sty
* \ifthenelse{test}{then clause}{else clause}
* \whiledo{test}{while clause}
% from package pgffor.sty
* \foreach \var in {list}{ }
\from TeX
* @for\var:={list}\do{ }
I would like to have a color for the control words and for {}
Thanks
Regards Alain
PS : i've a problem to understand this line :
{ name = 'meta.space-after-command.latex'; match = '(?=\s)(?<=\[\w@]|\[\w@]{2}|\[\w@]{3}|\[\w@]{4}|\[\w@] {5}|\[\w@]{6})\s';
On Sep 17, 2007, at 11:46 AM, Alain Matthes wrote:
PS : i've a problem to understand this line :
{ name = 'meta.space-after-command.latex'; match = '(?=\s)(?<=\[\w@]|\[\w@]{2}|\[\w@]{3}|\[\w@]{4}|\[\w@] {5}|\[\w@]{6})\s';
This command uses fixed length look-behinds to get a scope for the space right after a command, so that we can get some things triggered when the caret is at the end of a command. It is used by the "Command Completion" command.
Haris Skiadas Department of Mathematics and Computer Science Hanover College