mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 06:19:36 +00:00
Completing r37549.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37556 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
620cd90aa3
commit
7500590c89
@ -75,9 +75,6 @@ bool findPreviousChange(BufferView * bv);
|
|||||||
/// \param next true to find the next change, otherwise the previous
|
/// \param next true to find the next change, otherwise the previous
|
||||||
bool findChange(BufferView * bv, bool next);
|
bool findChange(BufferView * bv, bool next);
|
||||||
|
|
||||||
// Hopefully, nobody will ever replace with something like this
|
|
||||||
#define LYX_FR_NULL_STRING "__LYX__F&R__NULL__STRING__"
|
|
||||||
|
|
||||||
class FindAndReplaceOptions {
|
class FindAndReplaceOptions {
|
||||||
public:
|
public:
|
||||||
typedef enum {
|
typedef enum {
|
||||||
@ -87,26 +84,25 @@ public:
|
|||||||
S_ALL_MANUALS
|
S_ALL_MANUALS
|
||||||
} SearchScope;
|
} SearchScope;
|
||||||
FindAndReplaceOptions(
|
FindAndReplaceOptions(
|
||||||
docstring const & search,
|
docstring const & find_buf_name,
|
||||||
bool casesensitive,
|
bool casesensitive,
|
||||||
bool matchword,
|
bool matchword,
|
||||||
bool forward,
|
bool forward,
|
||||||
bool expandmacros,
|
bool expandmacros,
|
||||||
bool ignoreformat,
|
bool ignoreformat,
|
||||||
bool regexp,
|
docstring const & repl_buf_name,
|
||||||
docstring const & replace,
|
|
||||||
bool keep_case,
|
bool keep_case,
|
||||||
SearchScope scope = S_BUFFER
|
SearchScope scope = S_BUFFER
|
||||||
);
|
);
|
||||||
FindAndReplaceOptions() { }
|
FindAndReplaceOptions() { }
|
||||||
docstring search;
|
docstring find_buf_name;
|
||||||
bool casesensitive;
|
bool casesensitive;
|
||||||
bool matchword;
|
bool matchword;
|
||||||
bool forward;
|
bool forward;
|
||||||
bool expandmacros;
|
bool expandmacros;
|
||||||
bool ignoreformat;
|
bool ignoreformat;
|
||||||
bool regexp;
|
/// This is docstring() if no replace was requested
|
||||||
docstring replace;
|
docstring repl_buf_name;
|
||||||
bool keep_case;
|
bool keep_case;
|
||||||
SearchScope scope;
|
SearchScope scope;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user