]> git.lyx.org Git - lyx.git/blobdiff - src/Text.h
Fix bug #10579
[lyx.git] / src / Text.h
index f49c8e2d91c8c41a2a7093d4dcacc8a6d751df14..2174984b2352fef7f2405786c80dcd3712e6720a 100644 (file)
@@ -223,9 +223,10 @@ public:
        ///
        bool cursorVisRightOneWord(Cursor & cur);
        /// Delete from cursor up to the end of the current or next word.
-       void deleteWordForward(Cursor & cur);
+       /// Use force to skip the confirmDeletion check.
+       void deleteWordForward(Cursor & cur, bool force = false);
        /// Delete from cursor to start of current or prior word.
-       void deleteWordBackward(Cursor & cur);
+       void deleteWordBackward(Cursor & cur, bool force = false);
        ///
        bool cursorUpParagraph(Cursor & cur);
        ///