X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetText.h;h=ccb7301474e953025e62e096d8528bcb35f96388;hb=2c357c1d23b7b83839a9beb8225d4f1ae4f793b4;hp=561b33f698170363643e1b1b459f3b9d0481a4cd;hpb=7dcffe09f42c7f2b17c018ba69c53e1fd6b00c46;p=lyx.git diff --git a/src/insets/InsetText.h b/src/insets/InsetText.h index 561b33f698..ccb7301474 100644 --- a/src/insets/InsetText.h +++ b/src/insets/InsetText.h @@ -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: ///