Abdelrazak Younes wrote: > Richard Heck wrote: >> Abdelrazak Younes wrote: >>> 3143 new paragraph doesn't reset text style Patch for 3143 attached.
Richard -- ================================================================== Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ ================================================================== Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Index: text3.C =================================================================== --- text3.C (revision 17581) +++ text3.C (working copy) @@ -652,6 +652,8 @@ case LFUN_BREAK_PARAGRAPH: cap::replaceSelection(cur); breakParagraph(cur, 0); + //Reset text style to default + setFont(cur, LyXFont(LyXFont::ALL_INHERIT), 0); cur.resetAnchor(); bv->switchKeyMap(); break;