]> git.lyx.org Git - features.git/blobdiff - src/Text.h
Cleanup: Replace a bunch of Cursor arguments with DocIterators.
[features.git] / src / Text.h
index 848f45b5ec1c13bd8c27013c166e9a35f49fa4dc..a0c94dab07856130645d0023551ec46dcc97a33b 100644 (file)
@@ -252,11 +252,11 @@ public:
        /* these things are for search and replace */
 
        /// needed to insert the selection
-       /// FIXME: replace Cursor with DocIterator.
-       void insertStringAsLines(Cursor & cur, docstring const & str);
+       void insertStringAsLines(DocIterator const & dit, docstring const & str,
+               Font const & font);
        /// needed to insert the selection
-       /// FIXME: replace Cursor with DocIterator.
-       void insertStringAsParagraphs(Cursor & cur, docstring const & str);
+       void insertStringAsParagraphs(DocIterator const & dit, docstring const & str,
+               Font const & font);
 
        /// access to our paragraphs
        ParagraphList const & paragraphs() const { return pars_; }