]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_charinset.h
enable direct input of #1...#9; some whitespace changes
[lyx.git] / src / mathed / math_charinset.h
index 790453440a18f9d4e8bcff864ac7bb2d92ddb980..20d5e472f1f3fc6a95653fd4af2b31082e7d2138 100644 (file)
@@ -21,13 +21,13 @@ public:
        ///
        MathInset * clone() const;
        ///
-       MathTextCodes nativeCode(char c) const;
+       static MathTextCodes nativeCode(char c);
        ///
        void metrics(MathMetricsInfo const & st) const;
        ///
        void draw(Painter &, int x, int y) const;
        ///
-       void write(MathWriteInfo & os) const;
+       void write(WriteStream & os) const;
        ///
        void writeHeader(std::ostream &) const;
        ///
@@ -35,7 +35,7 @@ public:
        ///
        void writeRaw(std::ostream &) const;
        ///
-       void writeNormal(NormalStream &) const;
+       void normalize(NormalStream &) const;
        /// 
        int ascent() const;
        ///
@@ -52,6 +52,8 @@ public:
        bool isRelOp() const;
        ///
        void handleFont(MathTextCodes t);
+       ///
+       bool match(MathInset *) const;
 
 private:
        /// the character