]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtext.h
remove unused code
[lyx.git] / src / lyxtext.h
index 89edf41d656a6eb63f4d0568e21a1a8550207e1c..96de949c3d2b38ce657b04d16db4ea5b9d4ec630 100644 (file)
@@ -21,7 +21,6 @@
 #include "layout.h"
 #include "LColor.h"
 #include "insets/inset.h"
-#include "WordLangTuple.h"
 
 class Buffer;
 class BufferParams;
@@ -32,6 +31,7 @@ class Row;
 class Spacing;
 class UpdatableInset;
 class VSpace;
+class WordLangTuple;
 
 
 /**
@@ -131,8 +131,7 @@ public:
          paragraphs */
        void decDepth(BufferView *);
 
-       /** Get the depth at current cursor position
-        */
+       /// get the depth at current cursor position
        int getDepth() const;
 
        /** set font over selection and make a total rebreak of those
@@ -170,7 +169,7 @@ public:
        ///
        void insertInset(BufferView *, Inset * inset);
 
-       /** Completes the insertion with a full rebreak. */
+       /// Completes the insertion with a full rebreak
        void fullRebreak(BufferView *);
 
        ///
@@ -191,6 +190,9 @@ public:
        ///
        void status(BufferView *, text_status) const;
 
+       ///
+       Inset::RESULT dispatch(FuncRequest const & cmd);
+
 private:
        /** wether the screen needs a refresh,
           starting with refresh_y
@@ -293,7 +295,7 @@ public:
         to the beginning of this word.
         With SelectSelectedWord can this be highlighted really
         */
-       WordLangTuple selectNextWordToSpellcheck(BufferView *, float & value) const;
+       WordLangTuple const selectNextWordToSpellcheck(BufferView *, float & value) const;
        ///
        void selectSelectedWord(BufferView *);
        /// returns true if par was empty and was removed
@@ -444,8 +446,6 @@ public:
        ///
        void checkParagraph(BufferView *, Paragraph * par, lyx::pos_type pos);
        ///
-       void toggleAppendix(BufferView *);
-       ///
        int workWidth(BufferView *) const;
        ///
        int workWidth(BufferView *, Inset * inset) const;
@@ -622,6 +622,8 @@ public:
 private:
        ///
        void setCounter(Buffer const *, Paragraph * par) const;
+       ///
+       Inset::RESULT lfunAppendix(FuncRequest const & cmd);
 
        /*
         * some low level functions