Do not allow a program listing to be in a font changing command.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32124 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-11-21 14:49:41 +00:00
parent ccd3293c51
commit 902c377ee3

View File

@ -41,6 +41,8 @@ private:
///
bool isLabeled() const { return true; }
///
bool noFontChange() const { return true; }
///
InsetCode lyxCode() const { return LISTINGS_CODE; }
/// lstinline is inlined, normal listing is displayed
DisplayType display() const;