X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInset.cpp;h=0cfb10cdd3e074dd2057529624b56f83a2b2a4e6;hb=c3a8b3a566e9e90f9ade72acbc723232d721d0b1;hp=112fb6d9f7c9b3dc6ace3e3eabda5385fbb438d2;hpb=9abb7db46800e554f57e865a3e768602ffd9d6f1;p=lyx.git diff --git a/src/insets/Inset.cpp b/src/insets/Inset.cpp index 112fb6d9f7..0cfb10cdd3 100644 --- a/src/insets/Inset.cpp +++ b/src/insets/Inset.cpp @@ -125,6 +125,18 @@ docstring Inset::name() const } +docstring Inset::toolTip(BufferView const &, int, int) const +{ + return docstring(); +} + + +docstring Inset::contextMenu(BufferView const &, int, int) const +{ + return docstring(); +} + + Dimension const Inset::dimension(BufferView const & bv) const { return bv.coordCache().getInsets().dim(this); @@ -201,7 +213,7 @@ bool Inset::getStatus(Cursor &, FuncRequest const & cmd, } -void Inset::edit(Cursor &, bool) +void Inset::edit(Cursor &, bool, EntryDirection) { LYXERR(Debug::INSETS, "edit left/right"); } @@ -325,7 +337,7 @@ void Inset::drawMarkers2(PainterInfo & pi, int x, int y) const } -bool Inset::editing(BufferView * bv) const +bool Inset::editing(BufferView const * bv) const { return bv->cursor().isInside(this); }