]> git.lyx.org Git - lyx.git/blobdiff - src/Text.h
Fix bug #8105: Crash when deleting math macro from the inside
[lyx.git] / src / Text.h
index c4da020cceb442e2e1fd8b2209a60ba6aa3948ae..6068025192dc57f6550c594b42fc2dcf0ade76fc 100644 (file)
@@ -71,7 +71,7 @@ public:
         *  inset that is alowed inside a font change.
         */
        void setInsetFont(BufferView const & bv, pit_type pit, pos_type pos,
-               Font const & font, bool toggleall = false);
+               Font const & font);
 
        /// what you expect when pressing \<enter\> at cursor position
        /// \param inverse_logic if false, the same layout is set for the
@@ -104,8 +104,7 @@ public:
        void setFont(Cursor & cur, Font const &, bool toggleall = false);
        /// Set font from \p begin to \p end and rebreak.
        void setFont(BufferView const & bv, CursorSlice const & begin,
-               CursorSlice const & end, Font const &,
-               bool toggleall = false);
+               CursorSlice const & end, Font const &);
 
        ///
        void toggleFree(Cursor & cur, Font const &, bool toggleall = false);