Inset::Inset(Inset const & in, bool same_id)
- : top_x(0), top_baseline(0), scx(0), owner_(0), name(in.name),
+ : top_x(0), top_baseline(0), scx(0), owner_(0), name_(in.name_),
background_color_(in.background_color_)
{
if (same_id)
return bv->workWidth();
}
+
LyXCursor const & Inset::cursor(BufferView * bv) const
{
return bv->text->cursor;
}
-string UpdatableInset::selectNextWord(BufferView *bv, float & value) const
+
+string const UpdatableInset::selectNextWord(BufferView *bv,
+ float & value) const
{
// we have to unlock ourself in this function by default!
bv->unlockInset(const_cast<UpdatableInset *>(this));
return string();
}
+
bool UpdatableInset::searchForward(BufferView * bv, string const &,
bool const &, bool const &)
{
return false;
}
+
bool UpdatableInset::searchBackward(BufferView * bv, string const &,
bool const &, bool const &)
{