X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FText.h;h=2174984b2352fef7f2405786c80dcd3712e6720a;hb=5940dc53aab9fec6cd02f8be337f0e6c9b2e5fb1;hp=f49c8e2d91c8c41a2a7093d4dcacc8a6d751df14;hpb=68109443f3738b89574cfc82bc30b14e0c31a8be;p=lyx.git diff --git a/src/Text.h b/src/Text.h index f49c8e2d91..2174984b23 100644 --- a/src/Text.h +++ b/src/Text.h @@ -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); ///