]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
remove unused code
[lyx.git] / src / BufferView.h
index 2603dadf1b1005d35efcc49a1ac9a248baea0efb..454dab6cf8f18feeca1110752e32339c27d41078 100644 (file)
@@ -16,7 +16,6 @@
 
 #include "LString.h"
 #include "undo.h"
-#include "commandtags.h"
 
 #include "insets/inset.h"
 
@@ -30,6 +29,7 @@ class LyXScreen;
 class Language;
 class Painter;
 class UpdatableInset;
+class WordLangTuple;
 
 ///
 class BufferView : boost::noncopyable {
@@ -124,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);
        ///
@@ -202,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;