X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FCursor.h;h=fc4daeb93b7a7f3b0619fd4a2573e20f565a3c3a;hb=af5257b6c3b24c00b18c601b77033cf7e60ce211;hp=4091790603d8b325e05310503b6c7bf7b98a7f54;hpb=6f8298b1658106c6536a6532af27822e74d41649;p=lyx.git diff --git a/src/Cursor.h b/src/Cursor.h index 4091790603..fc4daeb93b 100644 --- a/src/Cursor.h +++ b/src/Cursor.h @@ -154,7 +154,8 @@ public: DocIterator selectionEnd() const; /// - docstring selectionAsString(bool with_label) const; + docstring selectionAsString(bool const with_label, + bool const skipdelete = false) const; /// get some interesting description of top position void info(odocstream & os, bool devel_mode) const; /// @@ -189,7 +190,7 @@ public: /// containing the cursor void recordUndo(UndoKind kind = ATOMIC_UNDO) const; /// Convenience: prepare undo for the inset containing the cursor - void recordUndoInset(Inset const * inset = 0) const; + void recordUndoInset(Inset const * inset = nullptr) const; /// Convenience: prepare undo for the whole buffer void recordUndoFullBuffer() const; /// Convenience: prepare undo for buffer parameters