]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetText.h
s/updateLabels/updateBuffer/g, per a suggestion of Abdel's.
[features.git] / src / insets / InsetText.h
index f810a06fb1a023596105bd969742a87ddee701a4..a4c83f0b913873c146bfb47766d85fb8aa1e2e36 100644 (file)
@@ -91,9 +91,6 @@ public:
        ///
        docstring insetAsXHTML(XHTMLStream &, OutputParams const &, 
                               XHTMLOptions) const;
-       // FIXME XHTMLStream to be removed
-       docstring xhtml(odocstream &, OutputParams const &) const 
-               { return docstring (); }
        ///
        void validate(LaTeXFeatures & features) const;
 
@@ -115,8 +112,6 @@ public:
        ///
        void setFrameColor(ColorCode);
        ///
-       bool showInsetDialog(BufferView *) const;
-       ///
        Text * getText(int i) const {
                return (i == 0) ? const_cast<Text*>(&text_) : 0;
        }
@@ -152,8 +147,8 @@ public:
        ParagraphList const & paragraphs() const;
        ///
        bool insetAllowed(InsetCode) const { return !getLayout().isPassThru(); }
-       /// Allow spellchecking, except for insets with latex_language
-       bool allowSpellCheck() const { return !getLayout().isPassThru(); }
+       ///
+       bool allowSpellCheck() const { return getLayout().spellcheck() && !getLayout().isPassThru(); }
        ///
        virtual bool isMacroScope() const { return false; }
        ///
@@ -167,7 +162,7 @@ public:
                { return getLayout().allowParagraphCustomization(); }
 
        /// Update the counters of this inset and of its contents
-       virtual void updateLabels(ParIterator const &, bool);
+       virtual void updateBuffer(ParIterator const &, UpdateType);
        /// the string that is passed to the TOC
        void tocString(odocstream &) const;
        ///
@@ -208,10 +203,6 @@ protected:
        ///
        docstring getCaptionHTML(OutputParams const &) const;
 private:
-       ///
-       void initParagraphs(UsePlain type);
-       ///
-       void setParagraphOwner();
        ///
        bool drawFrame_;
        ///