void SetSelection(const wxRichTextSelection& sel) { m_selection = sel; }
//@}
-
- /**
- Selects all the text in the buffer.
- */
- virtual void SelectAll();
-
/**
Makes the control editable, or not.
*/
*/
wxRect GetScaledRect(const wxRect& rect) const;
+ /**
+ Returns @true if this control can use virtual attributes and virtual text.
+ The default is @false.
+ */
+ bool GetVirtualAttributesEnabled() const { return m_useVirtualAttributes; }
+
+ /**
+ Pass @true to let the control use virtual attributes.
+ The default is @false.
+ */
+ void EnableVirtualAttributes(bool b) { m_useVirtualAttributes = b; }
+
// Command handlers
/**
/// Are we editable?
bool m_editable;
+ /// Can we use virtual attributes and virtual text?
+ bool m_useVirtualAttributes;
+
/// Is the vertical scrollbar enabled?
bool m_verticalScrollbarEnabled;