]> git.lyx.org Git - features.git/commitdiff
implement getLastCode()
authorAndré Pönitz <poenitz@gmx.net>
Thu, 3 Jan 2002 12:50:00 +0000 (12:50 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Thu, 3 Jan 2002 12:50:00 +0000 (12:50 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3282 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/math_cursor.h

index ef9172a0ad87f3a8394fc03a8d6b6fa7584f96a3..a192a82dc78e686e8734d3196095c6bf64193321 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);
        ///