]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_cursor.h
make \newcommand{\bb}[1]{\mathbf{#1}} work for read/write/display.
[lyx.git] / src / mathed / math_cursor.h
index ef9172a0ad87f3a8394fc03a8d6b6fa7584f96a3..6e2742fd6505e64415185e9b946663798f44836f 100644 (file)
@@ -160,8 +160,8 @@ public:
        void breakLine();
        /// read contents of line into an array
        void readLine(MathArray & ar) const;
-       ///
-       MathTextCodes getLastCode() const;
+       /// remove this as soon as LyXFunc::getStatus is "localized"
+       MathTextCodes getLastCode() const { return lastcode_; }
        ///
        void pullArg(bool goright);
        ///
@@ -258,7 +258,7 @@ private:
        ///
        string macroName() const;
        ///
-       int macroNamePos() const;
+       MathInset::difference_type macroNamePos() const;
        ///
        void insert(char, MathTextCodes t);
        /// can we enter the inset?