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
Julian Smart
b9203caf27
Fixed bug [ 1870906 ] There are few problems selection text by mouse in RichTextCt
...
Fixed bug [ 1870265 ] window does not scroll after pasting text
Fixed bug [ 1870264 ] wxTextUrlEvent after click in empty space
Fixed bug [ 1806479 ] wxRichText URL issues (URL event triggered when clicking on blank space)
Fixed bug [ 1806953 ] wxRichTextControl::AddParagraph() is broken
Fixed a bug in SelectWord causing bad selections.
Added Ctrl+Backspace word deletion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 12:53:39 +00:00
Julian Smart
0f7e255a73
Fix caret position when deleting last character
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-21 16:57:47 +00:00
Julian Smart
bff43ea980
Don't treat character attributes as non-paragraph attributes if using a named paragraph style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-21 16:23:22 +00:00
Julian Smart
9ffff44c8b
Don't omit empty text objects
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-21 16:18:43 +00:00
Julian Smart
109b4aa352
Fixed two out by one errors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-20 20:32:13 +00:00
Julian Smart
b007ad818b
Avoid paragraphs with no children
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 13:35:42 +00:00
Julian Smart
b203a2d7d2
Fixed an XML parsing error for complex URLs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 12:09:31 +00:00
Julian Smart
1dff884202
Set default attributes after a SetSelection
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 15:41:38 +00:00
Julian Smart
d95647e65e
Performance optimization
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 11:01:02 +00:00
Julian Smart
359c789d6b
Make sure paragraph style is reset before applying a new style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 19:26:33 +00:00
Julian Smart
4b9bf89977
Implemented selection using shift left click
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 17:17:32 +00:00
Julian Smart
b402ac436c
Fixed undo batching
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 16:27:49 +00:00
Julian Smart
35e93e199f
Further fixes, for selected text display and new paragraph insertion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 14:24:37 +00:00
Julian Smart
af5f42f506
Fixed several style, paste and undo bugs
...
Added a reload function to the sample for quickly restoring original text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 17:05:32 +00:00
Julian Smart
b850bbe616
Reset scroll position when clearing buffer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-06 19:18:25 +00:00
Julian Smart
8b2a6dfc24
Added a reset-buffer event to give an opportunity to set the default initial style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-01 14:13:51 +00:00
Julian Smart
fbd42050d5
Take basic style into account when applying style sheet
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 17:58:43 +00:00