* notifyCursorLeaves does not necessarily get a cursor pointing to the inset.

It should only be used to set the update flags. Use the BufferView pointer as
  a pointer to the inset.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22909 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stefan Schimanski 2008-02-09 22:05:49 +00:00
parent 036f97a02e
commit 59e75f8cb5

View File

@ -212,7 +212,8 @@ public:
/// number of columns in gridlike structures
virtual size_t ncols() const { return 0; }
/// is called when the cursor leaves this inset
// returns true if cursor is now invalid.
/// returns true if cursor is now invalid. The cursor parameter
/// is _not_ necessarily pointing to the inset.
virtual bool notifyCursorLeaves(Cursor &) { return false; }
/// is called when the mouse enter or leave this inset
/// return true if this inset needs repaint