]> git.lyx.org Git - lyx.git/blobdiff - src/DocIterator.h
Tooltips for collapsables and branches
[lyx.git] / src / DocIterator.h
index 0c8eec3165ddb3820dfad7f3f8ed87e06906754d..d994c3a1e7a20a50007e4eabddb91b0e007a5c74 100644 (file)
@@ -212,13 +212,13 @@ public:
        bool fixIfBroken();
 
        /// find index of CursorSlice with &cell() == &cell (or -1 if not found)
-       idx_type find(MathData const & cell) const;
+       int find(MathData const & cell) const;
        /// find index of CursorSlice with inset() == inset (or -1 of not found)
-       idx_type find(InsetMath const * inset) const;
-       /// cut off CursorSlices with index > above and store cut off slices in cut
-       void cutOff(idx_type above, std::vector<CursorSlice> & cut);
+       int find(InsetMath const * inset) const;
+       /// cut off CursorSlices with index > above and store cut off slices in cut.
+       void cutOff(int above, std::vector<CursorSlice> & cut);
        /// cut off CursorSlices with index > above
-       void cutOff(idx_type above);
+       void cutOff(int above);
        /// push CursorSlices on top
        void append(std::vector<CursorSlice> const & x);
        /// push one CursorSlice on top and set its index and position