]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
remove unused code
[lyx.git] / src / BufferView.h
index d8a0912f761d3141201db0b06ca858f001d5163f..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 {
@@ -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);
        ///
@@ -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;