Commit Graph

270 Commits

Author SHA1 Message Date
Julian Smart
ff0ac260ef 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
2009-01-21 12:05:11 +00:00
Julian Smart
b759e7d3d0 Fixed [wxRichTextCtrl] Right Alignment sets text in the RTC too close to the border (#10277)
Also [wxRichTextCtrl] Wrong text positioning if different font sizes in the same paragraph (#10279)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 14:55:07 +00:00
Julian Smart
6c03c30fe9 Fixed assert caused by incorrect number of flex grid sizer rows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 11:45:05 +00:00
Julian Smart
548d175dcf Added Undo, Redo accelerators for wxRTC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-03 12:27:24 +00:00
Julian Smart
2f4390c06b Centre/right justification fix when there is a right indent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 16:05:11 +00:00
Julian Smart
4b08e76925 Fixed centering and right-justification when combined with left indentation (bug #10221).
Fixed wrapping problem for long lines (bug #10149).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 15:52:52 +00:00
Julian Smart
225324fdb6 Fixed inability to select no superscript and no subscript in wxRichTextCtrl's
formatting dialog (fixes bug #10121)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 12:47:00 +00:00
Julian Smart
752801be6d wxRichTextCtrl no longer deletes a character when content is selected
before pressing Delete (fixes bug #10153).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 12:34:55 +00:00
Julian Smart
a68919467a Fixed a problem with HTML list generation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 12:20:12 +00:00
Julian Smart
da5ecf248a Fixed problem with Croation input due to confusion of WXK_... values and character values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 14:39:16 +00:00
Julian Smart
797b922b23 Only ignore Alt down on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 14:56:12 +00:00
Julian Smart
8485ab5aee wxRTC now accepts keycodes generated using Alt, for example Polish Pro input on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 14:46:06 +00:00
Julian Smart
67252bc96e Fix for deleting first word in the control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-28 18:01:47 +00:00
Julian Smart
c02398c6f2 Fixed Cmd+Back, Cmd+Del word deletion behaviour in wxRichTextCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-07 15:35:11 +00:00
Vadim Zeitlin
f837582af4 fix a couple of harmless warnings reported by g++ 4.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 14:39:11 +00:00
Julian Smart
f493fe3249 Improved auto list numbering
Fixed selection bugs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-22 15:21:13 +00:00
Julian Smart
cdcd2013d1 Improved style list size calculations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-22 10:08:53 +00:00
Julian Smart
ef00e5367e Take on appropriate paragraph style in the newly created paragraph.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 13:22:50 +00:00
Julian Smart
b71d96c5d4 Tab removal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 12:55:14 +00:00
Julian Smart
f8ae0bd260 Shift+Return now puts the cursor on the next line
Fixed GetContiguousPlainText bug that caused wrapping problem


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-13 12:11:36 +00:00
Julian Smart
c2bf832bee Further style preview fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 09:42:19 +00:00
Julian Smart
d9b78cd63d Corrected problem of wrong paragraph receiving style in formatting dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 17:04:04 +00:00
Julian Smart
208f7fd110 Fixed reading of image type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 15:21:35 +00:00
Julian Smart
c5c857c9a2 Out by one correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 06:14:40 +00:00
Julian Smart
40b9e72e72 COnversion of some common font names to current platform
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-20 13:23:07 +00:00
Julian Smart
dc99dea363 Fixed a bug preventing style resetting from occurring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-18 17:04:26 +00:00
Julian Smart
60efb3422f Fixed common style collection and superscript/subscript selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 17:54:51 +00:00
Julian Smart
ca8eed8584 Apply previous paragraph style if pasting plain text, but not if pasting rich text.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-09 08:46:55 +00:00
Julian Smart
af11165bd2 Reverted patch 1906896 because it broke prgrammatic style application with BeginStyle/EndStyle.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-05 10:10:40 +00:00
Julian Smart
3f889a8168 Fixed [ 1905777 ] Defining default accelerators for wxRichTextCtrl
Added standard accelerators for cut, copy, paste and select all.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-03 20:18:36 +00:00
Julian Smart
a2efbf7b88 Applied patch [ 1906896 ] Fix for bug #1906223 and optimization
Don't set default style to cursor style until entering text
Andrej Sinicyn



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-03 20:07:41 +00:00
Julian Smart
65cdb1b702 Reduced the height requirement for the bullet dialog for small displays
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-29 11:56:13 +00:00
Julian Smart
a6fb54ec71 Added a wxRichTextCtrl-specific caret implementation in case of need
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-29 09:10:05 +00:00
Julian Smart
824ff8bd8a Make controls better size on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 10:15:49 +00:00
Julian Smart
00217f95a4 Bug fix for empty objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-27 17:17:08 +00:00
Julian Smart
ff004763b2 Further wxRichTextCtrl performance improvements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-27 13:26:57 +00:00
Julian Smart
4ced5be46a Fixed quotation mark input/output
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-26 19:43:11 +00:00
Julian Smart
567197af17 Made performance acceptable for editing large paragraphs on low-powered machines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-24 14:39:54 +00:00
Julian Smart
3bc1747441 Further optimizations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-24 11:44:13 +00:00
Julian Smart
126bfec4f8 Further performance optimizations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-23 15:01:54 +00:00
Julian Smart
555accf41f Two bug fixes for FindWrapPosition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-22 07:57:16 +00:00
Julian Smart
33f0828996 Speeded up wrapping (again), this time using partial text extents.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-21 15:25:59 +00:00
Julian Smart
4e42bc75f6 Fix for slow first character insertion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-20 19:06:39 +00:00
Julian Smart
b99e1e15be Added wxRichTextCtrl superscript and subscript support (Knut Petter Lehre).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-10 14:05:25 +00:00
Julian Smart
a6a5ab2472 Don't send event from ChangeValue
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-08 11:04:39 +00:00
Julian Smart
08013d598e Avoid the use font setters to avoid any memory leaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-07 12:25:08 +00:00
Julian Smart
c8de719de2 Fixed selection clearing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 08:47:58 +00:00
Julian Smart
4d46b12984 Don't take the previous paragraph style when deleting paragraph marker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 17:59:20 +00:00
Julian Smart
cadb181684 Fixed [ 1775674 ] Invalid color in picker dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 15:27:00 +00:00
Julian Smart
2a7c13adbd Fixed bug [ 1714813 ] ApplyXXXToSelection remove style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 14:55:20 +00:00