]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.h
Compile fix.
[lyx.git] / src / Paragraph.h
index 041c33e70cee9c4fbea9c99c23e9bc66fe6b8158..2c2e77246fc1c951d03da27171da2be5bad06b94 100644 (file)
@@ -77,7 +77,11 @@ public:
                return first == s.first && last == s.last;
        }
        
-       
+       inline bool inside(pos_type p) const
+       {
+               return first <= p && p <= last;
+       }
+
 };
 
 ///
@@ -97,7 +101,8 @@ enum AsStringParameter
        AS_STR_NONE = 0, ///< No option, only printable characters.
        AS_STR_LABEL = 1, ///< Prefix with paragraph label.
        AS_STR_INSETS = 2, ///< Go into insets.
-       AS_STR_NEWLINES = 4 ///< Get also newline characters.
+       AS_STR_NEWLINES = 4, ///< Get also newline characters.
+       AS_STR_SKIPDELETE = 8 ///< Skip deleted text in change tracking.
 };