]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_scriptinset.C
Part of IU.
[features.git] / src / mathed / math_scriptinset.C
index 4e52e1abd48e1d59f013a4d49afbb923de6a2587..faa46b1e673cc07b768c03cf46f9df54cfef6c3a 100644 (file)
 #include "math_support.h"
 #include "math_symbolinset.h"
 #include "dispatchresult.h"
+#include "cursor.h"
 #include "debug.h"
 #include "funcrequest.h"
 
 #include <boost/assert.hpp>
 
-
 using std::string;
 using std::max;
 using std::auto_ptr;
 using std::endl;
 
 
+
 MathScriptInset::MathScriptInset()
        : MathNestInset(3), limits_(0)
 {
@@ -512,7 +513,7 @@ void MathScriptInset::notifyCursorLeaves(idx_type idx)
 
 
 DispatchResult
-MathScriptInset::priv_dispatch(BufferView & bv, FuncRequest const & cmd)
+MathScriptInset::priv_dispatch(LCursor & bv, FuncRequest const & cmd)
 {
        if (cmd.action == LFUN_MATH_LIMITS) {
                if (!cmd.argument.empty()) {