]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
remove unused code
[lyx.git] / src / BufferView.h
index 0e33c43e7b7d1fd5a55b6e09469a3d1c361c0c09..454dab6cf8f18feeca1110752e32339c27d41078 100644 (file)
@@ -1,7 +1,8 @@
 // -*- C++ -*-
-/** \file
- *  Copyright 2002 the LyX Team
- *  Read the file COPYING
+/**
+ * \file BufferView.h
+ * Copyright 2002 the LyX Team
+ * Read the file COPYING
  *
  *  \author Lars Gullik Bjønnes
 */
@@ -15,7 +16,6 @@
 
 #include "LString.h"
 #include "undo.h"
-#include "commandtags.h"
 
 #include "insets/inset.h"
 
@@ -29,6 +29,7 @@ class LyXScreen;
 class Language;
 class Painter;
 class UpdatableInset;
+class WordLangTuple;
 
 ///
 class BufferView : boost::noncopyable {
@@ -58,11 +59,13 @@ public:
        ///
        void buffer(Buffer * b);
        ///
-       void resize(int, int, int, int);
-       ///
        void resize();
-       ///
-       void redraw();
+       /**
+        * Repaint the pixmap. Used for when we don't want
+        * to go through the full update() logic, just a simple
+        * repaint of the whole screen.
+        */
+       void repaint();
        ///
        bool fitCursor();
        ///
@@ -76,8 +79,6 @@ public:
        ///
        void redoCurrentBuffer();
        ///
-       int resizeCurrentBuffer();
-       ///
        void cursorPrevious(LyXText *);
        ///
        void cursorNext(LyXText *);
@@ -123,8 +124,8 @@ public:
        void endOfSpellCheck();
        ///
        void selectLastWord();
-       ///
-       string const nextWord(float & value);
+       /// return the next word
+       WordLangTuple const nextWord(float & value);
        ///
        bool gotoLabel(string const & label);
        ///
@@ -185,7 +186,7 @@ public:
        void scrollDocView(int);
 
        ///
-       void setState();
+       void switchKeyMap();
 
        ///
        bool ChangeInsets(Inset::Code code, string const & from,
@@ -201,7 +202,7 @@ public:
        ///
        void stuffClipboard(string const &) const;
        ///
-       bool Dispatch(kb_action action, string const & argument);
+       bool dispatch(FuncRequest const & argument);
 private:
        ///
        struct Pimpl;