X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsettext.h;h=d89bb3413e4aee9d0ec14c8dfea50240d7d174c1;hb=5603df4a5b7e511b31026c9a4f8f55b2b10fde57;hp=9766c6bfa6c10a63f4baf55cc4eb4aab26600116;hpb=3e80b0b318343341c230b3fd828a5b8597c636d5;p=lyx.git diff --git a/src/insets/insettext.h b/src/insets/insettext.h index 9766c6bfa6..d89bb3413e 100644 --- a/src/insets/insettext.h +++ b/src/insets/insettext.h @@ -81,16 +81,16 @@ public: OutputParams const &) const; /// int linuxdoc(Buffer const &, std::ostream &, - OutputParams const &) const ; + OutputParams const &) const; /// int docbook(Buffer const &, std::ostream &, - OutputParams const &) const ; + OutputParams const &) const; /// void validate(LaTeXFeatures & features) const; /// InsetOld::Code lyxCode() const { return InsetOld::TEXT_CODE; } /// FIXME, document - void getCursorPos(CursorSlice const & cur, int & x, int & y) const; + void getCursorPos(LCursor const & cur, int & x, int & y) const; /// void setFont(BufferView *, LyXFont const &, bool toggleall = false, @@ -148,7 +148,9 @@ public: ParagraphList const & paragraphs() const; /// bool insetAllowed(Code) const { return true; } - + /// + bool allowSpellCheck() const { return true; } + protected: /// void priv_dispatch(LCursor & cur, FuncRequest & cmd);