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/trunk@54598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4171,7 +4171,9 @@ bool wxRichTextParagraph::GetContiguousPlainText(wxString& text, const wxRichTex
|
||||
text += textObj->GetTextForRange(range);
|
||||
}
|
||||
else
|
||||
return true;
|
||||
{
|
||||
text += wxT(" ");
|
||||
}
|
||||
}
|
||||
|
||||
node = node->GetNext();
|
||||
@@ -4191,7 +4193,9 @@ bool wxRichTextParagraph::GetContiguousPlainText(wxString& text, const wxRichTex
|
||||
text = textObj->GetTextForRange(range) + text;
|
||||
}
|
||||
else
|
||||
return true;
|
||||
{
|
||||
text = wxT(" ") + text;
|
||||
}
|
||||
}
|
||||
|
||||
node = node->GetPrevious();
|
||||
|
Reference in New Issue
Block a user