Leuven, E. wrote:
i would prefer a simple lineedit as with the document class options and would
expect people who use this functionality to read the listings documentation.
so i do not see the urgency of validating the input and duplicating the
documentation in a separate hints window. we don't do that with the document
options either.
however, if you want to go there it should be possible implement a qtcompleter
that takes care of input between comma's (that separate options) and equal
signs.
to validate the input use a qvalidator (or maybe you already do that)
I hope the validation is kept, if this dialog is changed. Validation reduce
the chance of latex miscompiles, which is a good thing. LyX+Latex
isn't always that good at pointing out where the error is.
It is still possible to crash latex of course, but catching typos is useful.
Helge Hafting