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.
};
pos_type & right, TextCase action);
/// find \param str string inside Paragraph.
- /// \return true if the specified string is at the specified position
+ /// \return non-zero if the specified string is at the specified
+ /// position; returned value is the actual match length in positions
/// \param del specifies whether deleted strings in ct mode will be considered
- bool find(
+ int find(
docstring const & str, ///< string to search
bool cs, ///<
bool mw, ///<