]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
update tex2lyx tests
[lyx.git] / src / BufferView.h
index fc40379d66f8276b497039f9552910736dcc9f5f..ee2de8276e3a597c258d14ea65d8de435068b6ea 100644 (file)
@@ -16,6 +16,7 @@
 #define BUFFER_VIEW_H
 
 #include "DocumentClassPtr.h"
+#include "TexRow.h"
 #include "update_flags.h"
 
 #include "support/strfwd.h"
@@ -46,7 +47,6 @@ class ParagraphMetrics;
 class Point;
 class TexRow;
 class Text;
-struct TextEntry;
 class TextMetrics;
 
 enum CursorStatus {
@@ -164,10 +164,8 @@ public:
 
        /// set the cursor based on the given TeX source row.
        bool setCursorFromRow(int row);
-       ///
-       bool setCursorFromRow(int row, TexRow const & texrow);
        /// set the cursor based on the given start and end TextEntries.
-       bool setCursorFromEntries(TextEntry start, TextEntry end);
+       bool setCursorFromEntries(TexRow::TextEntry start, TexRow::TextEntry end);
 
        /// set cursor to the given inset. Return true if found.
        bool setCursorFromInset(Inset const *);