]> git.lyx.org Git - lyx.git/blobdiff - src/lyxcursor.C
remove debug message
[lyx.git] / src / lyxcursor.C
index 2bd2e5f9a2a94a5afd39eed0dbae0a49062f2dae..4e02327fbc0b982a41bfb466522085f4ff7d39cd 100644 (file)
@@ -1,8 +1,8 @@
 /* This file is part of
- * ====================================================== 
- * 
+ * ======================================================
+ *
  *           LyX, The Document Processor
- *      
+ *
  *           Copyright 1995 Matthias Ettrich
  *           Copyright 1995-2001 The LyX Team.
  *
 #include "lyxcursor.h"
 
 
-LyXCursor::LyXCursor() : par_(0), pos_(0), boundary_(false),
-                        x_(0), x_fix_(0), y_(0), row_(0)
-{
-}
+LyXCursor::LyXCursor()
+       : par_(0), pos_(0), boundary_(false),
+         x_(0), x_fix_(0), y_(0), iy_(0), row_(0)
+{}
 
 
-void LyXCursor::par(Paragraph * p) 
+void LyXCursor::par(Paragraph * p)
 {
        par_ = p;
 }
 
 
-//Paragraph * LyXCursor::par()
-//{
-//     return par_;
-//}
-
-
 Paragraph * LyXCursor::par() const
 {
        return par_;
 }
 
 
-void LyXCursor::pos(Paragraph::size_type p)
+void LyXCursor::pos(lyx::pos_type p)
 {
        pos_ = p;
 }
 
 
-Paragraph::size_type LyXCursor::pos() const
+lyx::pos_type LyXCursor::pos() const
 {
        return pos_;
 }
 
 
-void LyXCursor::boundary(bool b) 
+void LyXCursor::boundary(bool b)
 {
        boundary_ = b;
 }
@@ -100,16 +94,22 @@ int LyXCursor::y() const
 }
 
 
-void LyXCursor::row(Row * r)
+void LyXCursor::iy(int i)
 {
-       row_ = r;
+       iy_ = i;
 }
 
 
-//Row * LyXCursor::row()
-//{
-//     return row_;
-//}
+int LyXCursor::iy() const
+{
+       return iy_;
+}
+
+
+void LyXCursor::row(Row * r)
+{
+       row_ = r;
+}
 
 
 Row * LyXCursor::row() const