/// return the toolbar for this view
Toolbars & getToolbars() { return *toolbars_.get(); }
///
- Toolbars const & getToolbasr() const { return *toolbars_.get(); }
+ Toolbars const & getToolbars() const { return *toolbars_.get(); }
/// return the menubar for this view
Menubar & getMenubar() { return *menubar_.get(); }
*/
Buffer const * const updateInset(InsetBase const *) const;
+ // returns true if this view has the focus.
+ virtual bool hasFocus() const = 0;
+
protected:
/// view of a buffer. Eventually there will be several.
boost::shared_ptr<BufferView> bufferview_;