if (pos > 0 && par.isLetter(pos - 1))
return false;
if (pos + lyx::pos_type(size) < parsize
- && par.isLetter(pos + size));
+ && par.isLetter(pos + size))
return false;
}
if (!searchAllowed(bv, searchstr) || buf.isReadonly())
return 0;
- recordUndoFullDocument(bv->cursor());
+ recordUndoFullDocument(bv);
MatchString const match(searchstr, cs, mw);
int num = 0;
if (!bv->available())
return false;
- DocIterator cur = DocIterator(bv->cursor());
+ DocIterator cur = bv->cursor();
if (!findChange(cur))
return false;