mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 02:35:20 +00:00
2d5fa181a1
While it is not necessary to run validate() on insets that do not produce output (yellow notes and disabled branches), it has to be done for previewing, since a construct inside the inset may require some support. This is done in two steps: 1. in PreviewLoader::dumpPreamble, indicate that a preview is being prepared. It is not clear why the `for_preview' boolean was not set before. 2. in Inset(Branch|Note)::validate, always call the parent's validate method when previewing. It should have been possible to move the code from 2. to InsetText::validate, but the weird code in handling InsetNoteParams::Comment in html makes it difficult. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
epstools.cpp | ||
epstools.h | ||
GraphicsCache.cpp | ||
GraphicsCache.h | ||
GraphicsCacheItem.cpp | ||
GraphicsCacheItem.h | ||
GraphicsConverter.cpp | ||
GraphicsConverter.h | ||
GraphicsImage.h | ||
GraphicsLoader.cpp | ||
GraphicsLoader.h | ||
GraphicsParams.cpp | ||
GraphicsParams.h | ||
GraphicsTypes.h | ||
PreviewImage.cpp | ||
PreviewImage.h | ||
PreviewLoader.cpp | ||
PreviewLoader.h |