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(); }
/// 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);