X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxtext.h;h=897808cca860789ac90c57995140309b4efb7b67;hb=e7f4618bcce770369cf46335c2c7f0164b4b8857;hp=ccb24ec461ce8c4758a7878f7faa4205364c900e;hpb=77427d620a0e157ab6b65cbc5fefbe463ae3a35d;p=lyx.git diff --git a/src/lyxtext.h b/src/lyxtext.h index ccb24ec461..897808cca8 100644 --- a/src/lyxtext.h +++ b/src/lyxtext.h @@ -349,7 +349,7 @@ public: /// \retval true if a change has happened and we need a redraw. /// FIXME: replace LCursor with DocIterator. This is not possible right /// now because recordUndo() is called which needs a LCursor. - bool deleteEmptyParagraphMechanism(LCursor & cur, + static bool deleteEmptyParagraphMechanism(LCursor & cur, LCursor & old, bool & need_anchor_change); /// delete double spaces, leading spaces, and empty paragraphs @@ -382,7 +382,7 @@ private: // fix the cursor `cur' after a characters has been deleted at `where' // position. Called by deleteEmptyParagraphMechanism - void fixCursorAfterDelete(CursorSlice & cur, CursorSlice const & where); + static void fixCursorAfterDelete(CursorSlice & cur, CursorSlice const & where); // At cursor position 0, try to merge the paragraph with the one before it. // Ignore change tracking, i.e., physically remove the end-of-par character