wxRTC now properly honours margin size

Added wxRE_CENTRE_CARET style to centre the caret line vertically


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2009-01-21 12:05:11 +00:00
parent 0af9ce687d
commit ff0ac260ef
4 changed files with 71 additions and 17 deletions

View File

@@ -104,19 +104,21 @@ All:
All (GUI):
- Fixed wxRichTextCtrl input that uses Alt on Mac OS X, for example
Polish Pro input.
- wxRTC: fixed input that uses Alt on Mac OS X, for example Polish Pro input.
Also fixed a bug whereby e.g. Croatian keys didn't work, by moving more code
to key down handler.
- Fixed a problem with HTML list generation for wxRichTextCtrl.
- wxRichTextCtrl no longer deletes a character when content is selected
before pressing Delete.
- Fixed inability to select no superscript and no subscript in wxRichTextCtrl's
- wxRTC: fixed a problem with HTML list generation.
- wxRTC: no longer deletes a character when content is selected before
pressing Delete.
- wxRTC: fixed inability to select no superscript and no subscript in
formatting dialog.
- Fixed centering and right-justification when combined with left indentation.
- Fixed lack of right margin when centering or right-justifying in a wxRTC.
- Fixed wrong wxRTC descent when wrapping lines with different font sizes.
- Fixed wrapping problem for long lines.
- wxRTC: fixed centering and right-justification when combined with left
indentation.
- wxRTC: fixed lack of right margin when centering or right-justifying.
- wxRTC: fixed wrong descent when wrapping lines with different font sizes.
- wxRTC: fixed wrapping problem for long lines.
- wxRTC: all buffer margins now respected.
- wxRTC: Added wxRE_CENTRE_CARET to centre the caret line vertically.
- Fixed wxHTML's pagebreaks computation in tables (D.J.Stauffer).
- Fixed wxHtmlWindow::SelectionToText() to correctly insert newlines after
single-cell paragraphs.

View File

@@ -17,7 +17,16 @@ wxTextCtrlBase
<wx/richtext/richtextctrl.h>
\wxheading{Data structures}
\wxheading{Window styles}
\twocolwidtha{5cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\windowstyle{wxRE\_READONLY}}{The text will not be user-editable.}
\twocolitem{\windowstyle{wxRE\_CENTRE\_CARET}}{The control will try to keep the current caret line centred vertically.}
\twocolitem{\windowstyle{wxRE\_CENTER\_CARET}}{The same as wxRE\_CENTRE\_CARET.}
\end{twocollist}
See also \helpref{window styles overview}{windowstyles}.
\latexignore{\rtfignore{\wxheading{Members}}}