]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetspecialchar.h
fix typo that put too many include paths for most people
[lyx.git] / src / insets / insetspecialchar.h
index 721dfaebf1f0236f927edde4596137e240b94f59..1f0547d44455a4d46adeeb1f508932acd2423b06 100644 (file)
@@ -1,9 +1,9 @@
 // -*- C++ -*-
 /* This file is part of*
- * ====================================================== 
+ * ======================================================
  *
  *           LyX, The Document Processor
- *      
+ *
  *         Copyright 1997 Asger Alstrup
  *
  * ====================================================== */
@@ -59,7 +59,7 @@ public:
        void write(Buffer const *, std::ostream &) const;
        /// Will not be used when lyxf3
        void read(Buffer const *, LyXLex & lex);
-       /// 
+       ///
        int latex(Buffer const *, std::ostream &,
                  bool fragile, bool free_spc) const;
        ///
@@ -70,25 +70,28 @@ public:
        int docbook(Buffer const *, std::ostream &) const;
        ///
        virtual Inset * clone(Buffer const &, bool same_id = false) const;
-       ///  
+       ///
        Inset::Code lyxCode() const
        {
                return Inset::SPECIALCHAR_CODE;
        }
        /// We don't need \begin_inset and \end_inset
-       bool directWrite() const 
+       bool directWrite() const
        {
                return true;
        };
        ///
        void validate(LaTeXFeatures &) const;
-       
+
        // should this inset be handled like a normal charater
        bool isChar() const;
        /// is this equivalent to a letter?
        bool isLetter() const;
-       /// is this equivalent to a space?
+       /// is this equivalent to a space (which is BTW different from
+       // a line separator)?
        bool isSpace() const;
+       // should we break lines after this inset?
+       bool isLineSeparator() const;
 private:
        /// And which kind is this?
        Kind kind_;