[wx-dev] [ wxwindows-Bugs-1870290 ] Error with numbered list

SourceForge.net noreply at sourceforge.net
Sat May 3 13:21:46 PDT 2008


Bugs item #1870290, was opened at 2008-01-13 11:36
Message generated for change (Comment added) made by juliansmart
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1870290&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: RichTextCtrl
Group: Trivial
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Tyushkov Nikolay (softvoile)
Assigned to: Julian Smart (juliansmart)
Summary: Error with numbered list

Initial Comment:
It can be reproduced in standard sample \wxWidgets-2.8.7\samples\richtext\vc_mswu\richtext.exe. 


Run sample, set cursor into the Numbered bullets  list after 'This is my second item.', press Enter. You will get new numbered list item starting from '2', but it should starts from '3'. Write some text and hit Enter - again '2' instead of '4'...

One more thing, when user create list in any other rtf editor that I know (under window). When user press Enter - editor create new list item (new string with a bullet), but if user press Enter on empty list item or two Enter pressing in sequence - editor should cancel this empty list item and close whole the list. 

wxRithTextCtrl does not do this. It is not a bug, but very strange behaviour for users.


I use Windows XP, wxWidgets 2.8.7, MSVC 2005, Static Unicode build 


----------------------------------------------------------------------

>Comment By: Julian Smart (juliansmart)
Date: 2008-05-03 20:21

Message:
Logged In: YES 
user_id=59495
Originator: NO

Now improved in SVN (although two returns in succession doesn't cancel
list formatting yet).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1870290&group_id=9863


More information about the wx-dev mailing list