]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_nestinset.h
swallow <Return> events in mathed. Should mimic 1.3.x behaviour.
[lyx.git] / src / mathed / math_nestinset.h
index 4eae6eeaf061f532cb7232fd5fc36455a8482815..7bb9f08f22e95e9e42625d971e7f2316dfa12a31 100644 (file)
@@ -67,7 +67,7 @@ public:
        /// access to the lock
        void lock(bool);
        /// get notification when the cursor leaves this inset
-       void notifyCursorLeaves(idx_type);
+       void notifyCursorLeaves(LCursor & cur);
 
        /// direct access to the cell
        MathArray & cell(idx_type);
@@ -93,10 +93,16 @@ public:
        void write(WriteStream & os) const;
        /// writes [, name(), and args in []
        void normalize(NormalStream & os) const;
+       ///
+       int latex(Buffer const &, std::ostream & os,
+                       OutputParams const & runparams) const;
 
 protected:
        ///
        void priv_dispatch(LCursor & cur, FuncRequest & cmd);
+       /// do we want to handle this event?
+       bool getStatus(LCursor & cur, FuncRequest const & cmd,
+               FuncStatus & status) const;
        ///
        void handleFont(LCursor & cur,
                std::string const & arg, std::string const & font);