]> git.lyx.org Git - lyx.git/blobdiff - src/DocIterator.h
support to load the mathdots package via the document settings; fixes #5373; fileform...
[lyx.git] / src / DocIterator.h
index 14baf2566fd38e8da45a48f36e3ebe054417cb22..b73a61ec8ef6bce3846939bda412cf45810f5c5d 100644 (file)
@@ -51,6 +51,10 @@ public:
        /// access to owning buffer
        void setBuffer(Buffer * buf) { buffer_ = buf; }
 
+       /// Clone this for given \p buffer.
+       /// \p buffer must be a clone of buffer_.
+       DocIterator clone(Buffer * buffer) const;
+
        /// access slice at position \p i
        CursorSlice const & operator[](size_t i) const { return slices_[i]; }
        /// access slice at position \p i
@@ -355,10 +359,6 @@ private:
        std::vector<CursorSlice> data_;
 };
 
-/// Indicate if the character pointed by dit is a letter.
-/// This function takes care of spellchecker escape chars.
-bool isLetter(DocIterator const & dit);
-
 } // namespace lyx
 
 #endif // DOCITERATOR_H