Added URL support to attribute objects and to wxRichTextCtrl,
generating a wxTextUrlEvent as appropriate. Added outline list support and updated previews. Added alignment support for bullets. Added single right parenthesis support. Added XML stylesheet reading/writing. Changed SetBulletSymbol to SetBulletText so it can support bullet text more generally (e.g. for cached outline list numbering) Added wxRichTextRenderer to isolate e.g. bullet drawing and make it customisable. Added event handler support to wxRichTextBuffer. Updated documentation. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -171,6 +171,12 @@ defined for convenience:
|
||||
\end{verbatim}
|
||||
}
|
||||
|
||||
\membersection{wxRichTextCtrl::BeginListStyle}\label{wxrichtextctrlbeginliststyle}
|
||||
|
||||
\func{bool}{BeginListStyle}{\param{const wxString\&}{ listStyle}, \param{int}{ level=1}, \param{int}{ number=1}}
|
||||
|
||||
Begins using a specified list style. Optionally, you can also pass a level and a number.
|
||||
|
||||
\membersection{wxRichTextCtrl::BeginNumberedBullet}\label{wxrichtextctrlbeginnumberedbullet}
|
||||
|
||||
\func{bool}{BeginNumberedBullet}{\param{int }{bulletNumber}, \param{int }{leftIndent}, \param{int }{leftSubIndent}, \param{int }{bulletStyle = wxTEXT\_ATTR\_BULLET\_STYLE\_ARABIC|wxTEXT\_ATTR\_BULLET\_STYLE\_PERIOD}}
|
||||
@@ -254,6 +260,13 @@ Begins using this colour.
|
||||
|
||||
Begins using underlining.
|
||||
|
||||
\membersection{wxRichTextCtrl::BeginURL}\label{wxrichtextctrlbeginurl}
|
||||
|
||||
\func{bool}{BeginURL}{\param{const wxString\&}{ url}, \param{const wxString\&}{ characterStyle = wxEmptyString}}
|
||||
|
||||
Begins applying wxTEXT\_ATTR\_URL to the content. Pass a URL and optionally, a character style to apply,
|
||||
since it is common to mark a URL with a familiar style such as blue text with underlining.
|
||||
|
||||
\membersection{wxRichTextCtrl::CanCopy}\label{wxrichtextctrlcancopy}
|
||||
|
||||
\constfunc{bool}{CanCopy}{\void}
|
||||
@@ -407,6 +420,12 @@ Ends left indent.
|
||||
|
||||
Ends line spacing.
|
||||
|
||||
\membersection{wxRichTextCtrl::EndListStyle}\label{wxrichtextctrlendliststyle}
|
||||
|
||||
\func{bool}{EndListStyle}{\void}
|
||||
|
||||
Ends using a specified list style.
|
||||
|
||||
\membersection{wxRichTextCtrl::EndNumberedBullet}\label{wxrichtextctrlendnumberedbullet}
|
||||
|
||||
\func{bool}{EndNumberedBullet}{\void}
|
||||
@@ -461,6 +480,12 @@ Ends applying a text colour.
|
||||
|
||||
End applying underlining.
|
||||
|
||||
\membersection{wxRichTextCtrl::EndURL}\label{wxrichtextctrlendurl}
|
||||
|
||||
\func{bool}{EndURL}{\void}
|
||||
|
||||
Ends applying a URL.
|
||||
|
||||
\membersection{wxRichTextCtrl::ExtendSelection}\label{wxrichtextctrlextendselection}
|
||||
|
||||
\func{bool}{ExtendSelection}{\param{long }{oldPosition}, \param{long }{newPosition}, \param{int }{flags}}
|
||||
|
Reference in New Issue
Block a user