]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetText.h
Inset::addToToc(): change signature. Use DocIterator instead of ParConstIterator...
[lyx.git] / src / insets / InsetText.h
index ffd4bad18c9913d6425ecb5f7fcda588ba20e188..afb874a442cf3674ad1869b9b77a281cc6f2a781 100644 (file)
@@ -22,6 +22,7 @@ namespace lyx {
 class Buffer;
 class BufferParams;
 class BufferView;
+class CompletionList;
 class CursorSlice;
 class Dimension;
 class ParagraphList;
@@ -129,10 +130,6 @@ public:
        ///
        bool allowSpellCheck() const { return true; }
        ///
-       bool isTableCell() const;
-       /// should paragraph indendation be ommitted in any case?
-       bool neverIndent() const;
-       ///
        virtual bool isMacroScope() const { return false; }
        ///
        virtual bool allowMultiPar() const { return true; }
@@ -153,6 +150,8 @@ public:
        ///
        bool automaticPopupCompletion() const;
        ///
+       bool showCompletionCursor() const;
+       ///
        CompletionList const * createCompletionList(Cursor const & cur) const;
        ///
        docstring completionPrefix(Cursor const & cur) const;
@@ -160,6 +159,7 @@ public:
        bool insertCompletion(Cursor & cur, docstring const & s, bool finished);
        ///
        void completionPosAndDim(Cursor const &, int & x, int & y, Dimension & dim) const;
+
        ///
        virtual docstring contextMenu(BufferView const & bv, int x, int y) const;
        ///
@@ -173,8 +173,6 @@ private:
        ColorCode frame_color_;
        ///
        mutable pit_type old_pit;
-       ///
-       docstring previousWord(CursorSlice const & sl) const;
 
 public:
        ///