]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtext.h
add missing writeNormal() methods to some insets
[lyx.git] / src / lyxtext.h
index 3be37e1cfff0300516523e2044fcbe50e2f0dddf..32b8a7d344757b4f468ecfa1c2be29168c147b5c 100644 (file)
@@ -194,7 +194,7 @@ public:
        ///
        mutable Row * refresh_row;
        ///
-       int refresh_pos;
+       Paragraph::size_type refresh_pos;
 
        /// give and set the LyXText status
        text_status status() const;
@@ -217,8 +217,8 @@ public:
        /** returns the column near the specified x-coordinate of the row 
         x is set to the real beginning of this column
         */ 
-       int getColumnNearX(BufferView *, Row * row,
-                          int & x, bool & boundary) const;
+       Paragraph::size_type getColumnNearX(BufferView *, Row * row,
+                                           int & x, bool & boundary) const;
        
        /** returns a pointer to a specified row. y is set to the beginning
         of the row
@@ -466,6 +466,8 @@ public:
        ///
        int workWidth(BufferView *) const;
        ///
+       int workWidth(BufferView *, Inset * inset) const;
+       ///
        void computeBidiTables(Buffer const *, Row * row) const;
 
        /// Maps positions in the visual string to positions in logical string.
@@ -662,9 +664,9 @@ public:
        ///
        Paragraph * ownerParagraph() const;
        //
-       Paragraph * ownerParagraph(Paragraph *) const;
+       void ownerParagraph(Paragraph *) const;
        // set it searching first for the right owner using the paragraph id
-       Paragraph * ownerParagraph(int id, Paragraph *) const;
+       void ownerParagraph(int id, Paragraph *) const;
 };