Le 17/10/2016 à 00:35, Guillaume Munch a écrit :
Author: Guillaume Munch <g...@lyx.org>
Date: Sun Sep 25 12:38:53 2016 +0200
TexRow for InPreamble
This enables error reporting for the preamble, provided the preamble is
using the new InPreamble layouts.
In the future, I find it preferable to deprecate the usual preamble in
InPreamble layouts rather than implementing error reporting for the usual
preamble. This requires some improvements to code editing in the buffer view
first (line breaking behaviour, syntax highlighting).
As written above. Error reporting for the preamble would be easy to
implement now, but I think it is better to be more ambitious and to aim
for moving the preamble entirely from the dialog to the buffer view in
the long term. But, if somebody is ready to implement the Qt aspect of
error reporting in the preamble (i.e. showing the dialog and
highlighting the erroneous line all the while paying attention to not
annoying the user) then I am happy to add the tracking of line numbers
of the preamble.