v...@lyx.org schreef:
Author: vfr
Date: Sat Nov 21 15:49:41 2009
New Revision: 32124
URL: http://www.lyx.org/trac/changeset/32124

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

Modified:
   lyx-devel/trunk/src/insets/InsetListings.h

Modified: lyx-devel/trunk/src/insets/InsetListings.h
==============================================================================
--- lyx-devel/trunk/src/insets/InsetListings.h  Sat Nov 21 15:44:20 2009        
(r32123)
+++ lyx-devel/trunk/src/insets/InsetListings.h  Sat Nov 21 15:49:41 2009        
(r32124)
@@ -41,6 +41,8 @@
        ///
        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;
This can cause a document not to be compilable.

To branch ?

Vincent

Reply via email to