Added non-breaking space to whitespace check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2335,7 +2335,7 @@ bool wxRichTextCtrl::PageDown(int noPages, int flags)
|
|||||||
|
|
||||||
static bool wxRichTextCtrlIsWhitespace(const wxString& str)
|
static bool wxRichTextCtrlIsWhitespace(const wxString& str)
|
||||||
{
|
{
|
||||||
return str == wxT(" ") || str == wxT("\t");
|
return str == wxT(" ") || str == wxT("\t") || (!str.empty() && (str[0] == (wxChar) 160));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Finds the caret position for the next word
|
// Finds the caret position for the next word
|
||||||
|
Reference in New Issue
Block a user