Lexer and optional arguments

Daniel xracoonx at gmx.de
Fri Mar 18 17:45:26 UTC 2022


Is it possible to have optional arguments read with Lexer? I imagine 
something like:

Command <Parameter1> [<Parameter2>]

So Parameter1 is necessary but Parameter2 is optional. The Lexer would 
only look on the same line for an optional parameter.

Daniel




More information about the lyx-devel mailing list