]> git.lyx.org Git - lyx.git/blobdiff - src/lyxcursor.h
white-space changes, removed definitions.h several enum changes because of this,...
[lyx.git] / src / lyxcursor.h
index 322dd38dc9375edd268cfaff51d5d01db2c73c87..fc0e832d331527e2f944ee87a0620df87e975403 100644 (file)
@@ -1,25 +1,27 @@
 // -*- C++ -*-
 /* This file is part of
- * ======================================================
+ * ====================================================== 
  * 
  *           LyX, The Document Processor
  *      
  *         Copyright (C) 1995 Matthias Ettrich
  *
- *======================================================*/
-#ifndef _LYXCURSOR_H
-#define _LYXCURSOR_H
+ * ====================================================== */
+
+#ifndef LYXCURSOR_H
+#define LYXCURSOR_H
+
+#include "lyxparagraph.h"
 
-class LyXParagraph;
 struct Row;
 
 /** All these variavles should be explained. Matthias?
  */
 struct LyXCursor {
        ///
-       LyXParagraph *par;
+       LyXParagraph * par;
        ///
-       int pos;
+       LyXParagraph::size_type pos;
        ///
        int x;
        ///
@@ -27,7 +29,7 @@ struct LyXCursor {
        ///
        long y;
        ///
-       Row *row;
+       Row * row;
 };
 
 #endif