using std::string;
+namespace lyx {
+namespace frontend {
ControlSearch::ControlSearch(Dialog & parent)
: Dialog::Controller(parent)
void ControlSearch::find(string const & search, bool casesensitive,
bool matchword, bool forward)
{
- string const data = lyx::find::find2string(search, casesensitive,
- matchword, forward);
+ string const data = find::find2string(search, casesensitive,
+ matchword, forward);
kernel().dispatch(FuncRequest(LFUN_WORD_FIND, data));
}
bool forward, bool all)
{
string const data =
- lyx::find::replace2string(search, replace, casesensitive,
- matchword, all, forward);
+ find::replace2string(search, replace, casesensitive,
+ matchword, all, forward);
kernel().dispatch(FuncRequest(LFUN_WORD_REPLACE, data));
}
+
+} // namespace frontend
+} // namespace lyx