X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FText.h;h=2174984b2352fef7f2405786c80dcd3712e6720a;hb=71623b88;hp=f49c8e2d91c8c41a2a7093d4dcacc8a6d751df14;hpb=ffacdd8b469071e34c27f93e6f5b95f7a960a694;p=features.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); ///