mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
* Inset::editing should be const
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22258 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b79bd1fa65
commit
e32c8c5bad
@ -325,7 +325,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);
|
return bv->cursor().isInside(this);
|
||||||
}
|
}
|
||||||
|
@ -131,7 +131,7 @@ public:
|
|||||||
/// draw inset selection if necessary
|
/// draw inset selection if necessary
|
||||||
virtual void drawSelection(PainterInfo &, int, int) const {}
|
virtual void drawSelection(PainterInfo &, int, int) const {}
|
||||||
///
|
///
|
||||||
virtual bool editing(BufferView * bv) const;
|
virtual bool editing(BufferView const * bv) const;
|
||||||
///
|
///
|
||||||
virtual bool showInsetDialog(BufferView *) const { return false; }
|
virtual bool showInsetDialog(BufferView *) const { return false; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user