#define wxRICHTEXT_INSERT_NONE 0x00
#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
#endif
#if wxUSE_FFILE && wxUSE_STREAMS
- bool LoadFile(wxRichTextBuffer *buffer, const wxString& filename);
- bool SaveFile(wxRichTextBuffer *buffer, const wxString& filename);
+ virtual bool LoadFile(wxRichTextBuffer *buffer, const wxString& filename);
+ virtual bool SaveFile(wxRichTextBuffer *buffer, const wxString& filename);
#endif // wxUSE_STREAMS && wxUSE_STREAMS
/// Can we handle this filename (if using files)? By default, checks the extension.