Fix #9732: Inconsistent font properties for the preview and superscript insets

This commit is contained in:
Enrico Forestieri 2017-03-27 15:00:43 +02:00
parent bcf715f398
commit b6f8a84a35
2 changed files with 4 additions and 0 deletions

View File

@ -46,6 +46,8 @@ public:
bool neverIndent() const { return true; }
bool inheritFont() const { return false; }
InsetCode lyxCode() const { return PREVIEW_CODE; }
docstring layoutName() const { return from_ascii("Preview"); }

View File

@ -86,6 +86,8 @@ public:
///
bool neverIndent() const { return true; }
///
bool inheritFont() const { return false; }
///
int plaintext(odocstringstream & ods, OutputParams const & op,
size_t max_length = INT_MAX) const;
///