Jean-Marc Lasgouttes wrote:
[EMAIL PROTECTED] writes:
URL: http://www.lyx.org/trac/changeset/26646
Log:
Cleanup and layoutification of the InsetInfo class.
* InsetInfo.cpp (InsetInfo): derive from InsetCollapsable instead of
InsetText, so that we can use InsetLayout. Should be reverted when the
layout stuff is migrated to InsetText or some lower level.
(initTranslator, nameTranslator): moved outside of the class.
(name, neverIndent): added.
(draw, setMouseHover): removed.
(updateInfo): cleanup and use layout
(read, setInfo): make sure to reset layout.
* lib/layouts/stdinsets.inc: add layouts for the various Info insets.
These are used for both display and output.
Oups! Is that considered as a format change? How shall I handle it?
Well, I've never been entirely clear what exactly counted as a format
change, but this doesn't seem to be one to me. You're allowing user
control of the display of these insets, but there's no issue about the
actual format of anything changing.
rh