]> git.lyx.org Git - features.git/blobdiff - src/buffer.h
clear()->erase() ; lots of using directives for cxx
[features.git] / src / buffer.h
index a5932de51071c22e8cfed7d5cee9acbf7bf2bd37..8cfa12ad98bd6ea0e8aac9130bdc82653a93fc26 100644 (file)
@@ -80,10 +80,10 @@ public:
        /** high-level interface to buffer functionality
            This function parses a command string and executes it
        */
-       void Dispatch(string const & command);
+       bool Dispatch(string const & command);
 
        /// Maybe we know the function already by number...
-       void Dispatch(int ac, string const & argument);
+       bool Dispatch(int ac, string const & argument);
 
        /// should be changed to work for a list.
        void resize() {
@@ -113,7 +113,7 @@ public:
        void redraw() {
                users->redraw(); 
                users->fitCursor(); 
-               users->updateScrollbar();
+               //users->updateScrollbar();
        }
 
        ///
@@ -153,6 +153,12 @@ public:
        void makeLaTeXFile(string const & filename,
                           string const & original_path,
                           bool nice, bool only_body = false);
+       //
+       // LaTeX all paragraphs from par to endpar,
+       // if endpar == 0 then to the end
+       //
+       void latexParagraphs(std::ostream & os, LyXParagraph *par,
+                            LyXParagraph *endpar, TexRow & texrow);
 
        ///
        int runLaTeX();