diff --git a/docs/changes.txt b/docs/changes.txt index 311ae5202d..b6e362f389 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -98,9 +98,12 @@ All: All (GUI): -- Fixed wxHTML's pagebreaks computation in tables (D.J.Stauffer). - Fixed wxRichTextCtrl 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. +- Fixed wxHTML's pagebreaks computation in tables (D.J.Stauffer). - Fixed wxHtmlWindow::SelectionToText() to correctly insert newlines after single-cell paragraphs. - Fixed wxHTML's line breaks handling in
blocks broken in 2.8.8 (#10120). @@ -915,7 +918,7 @@ All (GUI): - wxNB_HITTEST_* flags renamed to wxBK_HITTEST_* to serve all book controls. - Added wxTopLevelWindow::SetTransparent and CanSetTransparent, with implementations (so far) for wxMSW and wxMac. -- Allow customizing individual grid lines appearance (Søren Lassen). +- Allow customizing individual grid lines appearance (Sren Lassen). - Fixed middle click events generation in generic wxTreeCtrl (Olly Betts). - Added wxEVT_MOUSE_CAPTURE_LOST event that must be handled by all windows that CaptureMouse() is called on. @@ -1078,7 +1081,7 @@ wxX11: - Invisible text problem fixed. - Bitmap clipping with masks and scaling improved. - Fixed a crash bug in the generic timer. -- Implemented child process termination notifications (David Björkevik) +- Implemented child process termination notifications (David Bjrkevik) Unix: @@ -1116,7 +1119,7 @@ All (GUI): - Added wxXmlResource::Unload(). - Possibility of modeless wxWizard dialog (with presentation in sample). - Fixed a rare crash due to malformed HTML in wxHTML (Xavier Nodet). -- Ctrl+mouse wheel changes zoom factor in print preview (Zbigniew Zagórski). +- Ctrl+mouse wheel changes zoom factor in print preview (Zbigniew Zagnrski). - Cross-compile now supported for wxGTK, wxX11 and wxMotif. - Cygwin compilation of wxX11, wxGTK and wxMotif now supported. - Now reads "help" parameter for all windows (context help text). @@ -1131,7 +1134,7 @@ wxMSW: - Fixed wxSlider::GetSelEnd() (Atilim Cetin). - Fixed accelerators of menu items added to already attached submenus. - Position of wxEVT_MOUSEWHEEL events is now in client, not screen, coordinates. -- Handle absence of wxListCtrl column image better (Zbigniew Zagórski). +- Handle absence of wxListCtrl column image better (Zbigniew Zagrski). - Fixed asynchronous playback of large sound files in wxSound. - Added wxDynamicLibrary::GetSymbolAorW(). - Fixed default size of wxStaticText controls with border being too small. @@ -1414,8 +1417,8 @@ All: use accessors methods now (Mart Raudsepp) - new classes for reading and writing ZIP files (M.J.Wetherell) - large files support for wxFFile (M.J.Wetherell) -- classes in the manual are now cross-referenced (Zbigniew Zagórski) -- Norwegian (Bokmål) translation added (Hans F. Nordhaug) +- classes in the manual are now cross-referenced (Zbigniew Zagrski) +- Norwegian (Bokmll) translation added (Hans F. Nordhaug) - wxDynamicLibrary::HasSymbol() added - added wxEXEC_NODISABLE flag to be used with wxExecute(wxEXEC_SYNC) - added wxTextInputStream::operator>>(wchar_t) for compilers which support this @@ -1464,7 +1467,7 @@ All (GUI): - added wxMediaCtrl - added wxDatePickerCtrl - wxHtmlWindow now supports background images given in tag -- wxSplitterWindow now supports gravity parameter (Zbigniew Zagórski) +- wxSplitterWindow now supports gravity parameter (Zbigniew Zagrski) - recursive wxSizer::GetItem returns item of given window, sizer or nth index - wxLayoutConstraints now use best size, not current size, for AsIs() condition - wxSizer::Add/Insert etc. now returns pointer to wxSizerItem just added and this @@ -1772,7 +1775,7 @@ wxODBC: All: -- event table macros now do some minimal type safety checks (Michael Sögtrop) +- event table macros now do some minimal type safety checks (Michael Sgtrop) - added wxGzipInput/OutputStream, bug fixes in wxZlibStreams (M.J.Wetherell) - wxDateTime::ParseDateTime() implemented (Linus McCabe) - wxHTTP::GetResponse() added (David Nock) @@ -1805,7 +1808,7 @@ All (GUI): - added some support for C++ exceptions in the library (do read the manual!) - added wxListCtrl::GetViewRect() - added wxTextCtrl::MarkDirty() -- wxToolBar::ToggleTool() now works for radio buttons (Dag Ågren) +- wxToolBar::ToggleTool() now works for radio buttons (Dag igren) - wxListCtrl now sends an END_LABEL event if editing was cancelled, too - bug in wxRect ctor from two [out of order] wxPoints fixed (Steve Cornett) - status text is now restored after wxMenu help is shown in it @@ -1936,7 +1939,7 @@ All: wxBase: - added Watcom makefiles -- fixed bug with searching in sorted arrays (Jürgen Palm) +- fixed bug with searching in sorted arrays (Jrgen Palm) All GUI ports: @@ -2497,7 +2500,7 @@ All (GUI): - polygon support in wxRegion (Klaas Holwerda) - wxStreamToTextRedirector to allow easily redirect cout to wxTextCtrl added - fixed bug with using wxExecute() to capture huge amounts of output -- new wxCalendarCtrl styles added (Søren Erland Vestø) +- new wxCalendarCtrl styles added (Sren Erland Vestu) - wxWizard changes: loading from WXR support, help button (Robert Cavanaugh) - wxDirSelector() added (Paul A. Thiessen) - wxGrid cell editing veto support (Roger Gammans) @@ -2605,7 +2608,7 @@ wxBase: - wxZipFSHandler::FindFirst() and FindNext() now correctly list directories - wxMimeTypesManager now can create file associations too (Chris Elliott) - wxCopyFile() respects the file permissions (Roland Scholz) -- wxFTP::GetFileSize() added (Søren Erland Vestø) +- wxFTP::GetFileSize() added (Sren Erland Vesti) - wxDateTime::IsSameDate() bug fixed - wxTimeSpan::Format() now behaves more as expected, see docs - wxLocale now provides much more convenient API for setting language and diff --git a/src/richtext/richtexthtml.cpp b/src/richtext/richtexthtml.cpp index 84e40fabcc..33f3ef835d 100644 --- a/src/richtext/richtexthtml.cpp +++ b/src/richtext/richtexthtml.cpp @@ -239,8 +239,9 @@ void wxRichTextHTMLHandler::BeginParagraphFormatting(const wxTextAttrEx& WXUNUSE int listType = TypeOfList(thisStyle, tag); m_listTypes.Add(listType); - wxString align = GetAlignment(thisStyle); - str << wxString::Format(wxT(""), align.c_str()); + // wxHTML needs an extra
before a list when using
...
in previous paragraphs. + // TODO: pass a flag that indicates we're using wxHTML. + str << wxT("\n"); str << tag; } @@ -290,7 +291,7 @@ void wxRichTextHTMLHandler::EndParagraphFormatting(const wxTextAttrEx& WXUNUSED( stream << wxT("
\n"); m_inTable = false; } - else + else if (!thisStyle.HasBulletStyle()) stream << wxT("\n"); }