]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetquotes.h
fix typo that put too many include paths for most people
[lyx.git] / src / insets / insetquotes.h
index 0e86e0aa2b62e8a1626ffc0a7098f5f8f73c6ac3..7fe44c073000146344ba0fa3e946847b9b62bbbc 100644 (file)
@@ -3,7 +3,7 @@
  * ======================================================
  *
  *           LyX, The Document Processor
- *      
+ *
  *         Copyright 1995 Matthias Ettrich
  *          Copyright 1995-2001 The LyX Team
  *
@@ -27,7 +27,7 @@ struct LaTeXFeatures;
 /** Quotes.
 
   Used for the various quotes. German, English, French, all either
-  double or single **/ 
+  double or single **/
 class InsetQuotes : public Inset {
 public:
        ///
@@ -50,20 +50,20 @@ public:
                ///
                LeftQ,
                ///
-               RightQ 
+               RightQ
        };
        ///
        enum quote_times {
                ///
                SingleQ,
                ///
-               DoubleQ 
+               DoubleQ
        };
-       
+
        /** The constructor works like this:
          \begin{itemize}
-           \item fls <- french single quote left 
-           \item grd <- german double quote right 
+           \item fls <- french single quote left
+           \item grd <- german double quote right
            \item etc.
          \end{itemize}
          */
@@ -96,13 +96,16 @@ public:
        ///
        int linuxdoc(Buffer const *, std::ostream &) const;
        ///
-       int docBook(Buffer const *, std::ostream &) const;
+       int docbook(Buffer const *, std::ostream &) const;
        ///
        void validate(LaTeXFeatures &) const;
        ///
        virtual Inset * clone(Buffer const &, bool same_id = false) const;
        ///
        Inset::Code lyxCode() const;
+       // should this inset be handled like a normal charater
+       bool isChar() const { return true; }
+
 private:
        ///
        quote_language language_;
@@ -121,4 +124,3 @@ private:
        string const dispString(Language const *) const;
 };
 #endif
-