]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.h
This comment is wrong and causes bug in revision control.
[lyx.git] / src / Paragraph.h
index 267fc8de60f6a8cec363a0e0cb8f6277b1932724..c83ede5975788122307fe8715662ddde34b66bf9 100644 (file)
@@ -156,11 +156,11 @@ public:
        ///
        InsetCode ownerCode() const;
        ///
-       bool forceEmptyLayout() const;
+       bool forcePlainLayout() const;
        ///
        bool allowParagraphCustomization() const;
        ///
-       bool useEmptyLayout() const;
+       bool usePlainLayout() const;
        ///
        pos_type size() const;
        ///
@@ -171,7 +171,7 @@ public:
        /// Do not pass a temporary to this!
        void setLayout(Layout const & layout);
        ///
-       void setEmptyOrDefaultLayout(DocumentClass const & tc);
+       void setPlainOrDefaultLayout(DocumentClass const & tc);
 
        /// This is the item depth, only used by enumerate and itemize
        signed char itemdepth;
@@ -336,6 +336,8 @@ public:
        bool isLetter(pos_type pos) const;
        /// True if the element at this point is a character that is not a letter.
        bool isChar(pos_type pos) const;
+       /// True if the element at this point is a space
+       bool isSpace(pos_type pos) const;
 
        /// returns true if at least one line break or line separator has been deleted
        /// at the beginning of the paragraph (either physically or logically)