]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetText.h
This should be the last of the commits refactoring the InsetLayout code.
[lyx.git] / src / insets / InsetText.h
index 561b33f698170363643e1b1b459f3b9d0481a4cd..ccb7301474e953025e62e096d8528bcb35f96388 100644 (file)
@@ -141,6 +141,23 @@ public:
        ///
        virtual Inset * clone() const;
 
+       ///
+       bool completionSupported(Cursor const &) const;
+       ///
+       bool inlineCompletionSupported(Cursor const & cur) const;
+       ///
+       bool automaticInlineCompletion() const;
+       ///
+       bool automaticPopupCompletion() const;
+       ///
+       CompletionList const * completionList(Cursor const & cur) const;
+       ///
+       docstring completionPrefix(Cursor const & cur) const;
+       ///
+       bool insertCompletion(Cursor & cur, docstring const & s, bool finished);
+       ///
+       void completionPosAndDim(Cursor const &, int & x, int & y, Dimension & dim) const;
+
 protected:
        ///
        virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
@@ -154,6 +171,8 @@ private:
        ColorCode frame_color_;
        ///
        mutable pit_type old_pit;
+       ///
+       docstring previousWord(Buffer const & buffer, CursorSlice const & sl) const;
 
 public:
        ///