]> git.lyx.org Git - lyx.git/blobdiff - src/dociterator.h
Change to use preffered calling of Boost.Function
[lyx.git] / src / dociterator.h
index 9d6119d42611dde9a06fc6099ab59df10ccfc38a..bb1f12832d040eaabb41d0e17293899816fee00e 100644 (file)
@@ -66,7 +66,7 @@ public:
        CursorSlice & top() { return back(); }
        /// access to tip
        CursorSlice const & top() const { return back(); }
-       /// access to outermost slice 
+       /// access to outermost slice
        CursorSlice & bottom() { return front(); }
        /// access to  outermost slicetip
        CursorSlice const & bottom() const { return front(); }
@@ -185,6 +185,9 @@ public:
        /// move backward one inset
        void backwardInset();
 
+       /// are we some 'extension' (i.e. deeper nested) of the given iterator
+       bool hasPart(DocIterator const & it) const;
+
        /// output
        friend std::ostream &
        operator<<(std::ostream & os, DocIterator const & cur);