]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.h
Safer temp file creation with regards to double slash.
[lyx.git] / src / Paragraph.h
index a75ec791116b27e4b0daeb0905d615eb4f58d464..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;
@@ -334,6 +334,10 @@ public:
        /// True if the character/inset at this point can be part of a word.
        /// Note that digits in particular are considered as letters
        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)