]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
some refactoring
[lyx.git] / src / BufferView.h
index 1c02f954d7ea9202e9f1bcae62bd83a3308fda6b..192742b8c42ebfd7ae74301fe1a3d7cb37431d9f 100644 (file)
@@ -170,8 +170,7 @@ public:
 
        /// dispatch method helper for \c WorkArea
        /// \sa WorkArea
-       /// \retval true if a redraw is needed
-       bool workAreaDispatch(FuncRequest const & ev);
+       void mouseEventDispatch(FuncRequest const & ev);
 
        /// access to anchor.
        pit_type anchor_ref() const;
@@ -256,6 +255,10 @@ public:
        ///
        void setGuiDelegate(frontend::GuiBufferViewDelegate *);
 
+       ///
+       docstring contentsOfPlaintextFile(std::string const & f, bool asParagraph);
+       // Insert plain text file (if filename is empty, prompt for one)
+       void insertPlaintextFile(std::string const & fileName, bool asParagraph);
 private:
        // the position relative to (0, baseline) of outermost paragraph
        Point coordOffset(DocIterator const & dit, bool boundary) const;