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

see r32124.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32126 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-11-21 15:09:10 +00:00
parent 773d8d6ae1
commit e0466fe56b
2 changed files with 4 additions and 0 deletions

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;

View File

@ -180,6 +180,8 @@ What's new
- Include packages for commands used within a \boxed (bug 6297).
- Close font-changing commands before a program listing.
* USER INTERFACE