]> git.lyx.org Git - lyx.git/blobdiff - src/CursorSlice.cpp
Avoid full metrics computation with Update:FitCursor
[lyx.git] / src / CursorSlice.cpp
index 20a163449f8d687fd98a8a5d314fb0fcd176d53f..105df9685b5f68267bb239b14c6214da4339496a 100644 (file)
 
 #include "Text.h"
 #include "Paragraph.h"
+#include "ParagraphList.h"
 
 #include "support/debug.h"
 
 #include "mathed/InsetMath.h"
 #include "mathed/InsetMathMacro.h"
+#include "mathed/MathData.h"
 
-#include "support/ExceptionMessage.h"
-#include "support/gettext.h"
 #include "support/lassert.h"
 
 #include <ostream>
@@ -76,14 +76,14 @@ pit_type CursorSlice::lastpit() const
 }
 
 
-CursorSlice::row_type CursorSlice::row() const
+row_type CursorSlice::row() const
 {
        LASSERT(inset_, return 0);
        return inset_->row(idx_);
 }
 
 
-CursorSlice::col_type CursorSlice::col() const
+col_type CursorSlice::col() const
 {
        LASSERT(inset_, return 0);
        return inset_->col(idx_);