S_OPEN_BUFFERS,
S_ALL_MANUALS
} SearchScope;
+ typedef enum {
+ R_EVERYTHING,
+ R_ONLY_MATHS
+ } SearchRestriction;
FindAndReplaceOptions(
docstring const & find_buf_name,
bool casesensitive,
bool ignoreformat,
docstring const & repl_buf_name,
bool keep_case,
- SearchScope scope = S_BUFFER
+ SearchScope scope = S_BUFFER,
+ SearchRestriction restr = R_EVERYTHING
);
FindAndReplaceOptions() { }
docstring find_buf_name;
docstring repl_buf_name;
bool keep_case;
SearchScope scope;
+ SearchRestriction restr;
};
/// Write a FindAdvOptions instance to a stringstream