]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/LyXView.h
changelogs
[lyx.git] / src / frontends / LyXView.h
index 89b44c7dd4f5633a2fd5c5d535226549257c03f8..c43dc7118638b69930cad6f8c0a786a2dfa73ef7 100644 (file)
@@ -87,7 +87,7 @@ public:
        /// 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(); }
@@ -142,6 +142,9 @@ public:
         */
        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_;