X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferView.h;h=ee2de8276e3a597c258d14ea65d8de435068b6ea;hb=d996ec89928efb3042325fa158e1d5547b9eb64d;hp=aca6f852b22ab6b275a24dab5f0632159b5f8ba1;hpb=67805de7de949dbe8fd1468f4d17fc44f4171721;p=lyx.git diff --git a/src/BufferView.h b/src/BufferView.h index aca6f852b2..ee2de8276e 100644 --- a/src/BufferView.h +++ b/src/BufferView.h @@ -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; -class 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 *);