mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
* 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:
parent
036f97a02e
commit
59e75f8cb5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user