X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c025e094f4527b6b6658141a0ee1daa425dc6e49..d2a48d5cbc5b3764c6b578238ec6cc5f16c5dd0f:/include/wx/richtext/richtextbuffer.h?ds=sidebyside diff --git a/include/wx/richtext/richtextbuffer.h b/include/wx/richtext/richtextbuffer.h index 9692e8a9f2..871025796f 100644 --- a/include/wx/richtext/richtextbuffer.h +++ b/include/wx/richtext/richtextbuffer.h @@ -197,6 +197,11 @@ class WXDLLIMPEXP_FWD_RICHTEXT wxRichTextBuffer; #define wxRICHTEXT_INSERT_WITH_PREVIOUS_PARAGRAPH_STYLE 0x01 #define wxRICHTEXT_INSERT_INTERACTIVE 0x02 +// A special flag telling the buffer to keep the first paragraph style +// as-is, when deleting a paragraph marker. In future we might pass a +// flag to InsertFragment and DeleteRange to indicate the appropriate mode. +#define wxTEXT_ATTR_KEEP_FIRST_PARA_STYLE 0x10000000 + /*! * wxRichTextFontTable * Manages quick access to a pool of fonts for rendering rich text