void setCursor(DocIterator const &);
/// sets cursor.
/// This is used when handling LFUN_MOUSE_PRESS.
- void mouseSetCursor(LCursor & cur);
+ bool mouseSetCursor(LCursor & cur);
/// sets the selection.
/* When \c backwards == false, set anchor
/// keyboard mapping object.
boost::scoped_ptr<Intl> const intl_;
+
+ /// last visited inset (kept to send setMouseHover(false) )
+ InsetBase * last_inset_;
};