Fixed a bug setting caret position after setting or clearing selection
Implemented forced line breaks within a paragraph, entered with Shift-Return. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -70,6 +70,12 @@
|
||||
#include "wx/dataobj.h"
|
||||
#endif
|
||||
|
||||
/*!
|
||||
* Special characters
|
||||
*/
|
||||
|
||||
extern WXDLLIMPEXP_RICHTEXT const wxChar wxRichTextLineBreakChar;
|
||||
|
||||
/*!
|
||||
* File types
|
||||
*/
|
||||
@@ -1344,6 +1350,9 @@ public:
|
||||
/// Get combined attributes of the base style and paragraph style.
|
||||
wxTextAttrEx GetCombinedAttributes() const;
|
||||
|
||||
/// Get the first position from pos that has a line break character.
|
||||
long GetFirstLineBreakPosition(long pos);
|
||||
|
||||
/// Create default tabstop array
|
||||
static void InitDefaultTabs();
|
||||
|
||||
@@ -1413,6 +1422,9 @@ public:
|
||||
/// Dump to output stream for debugging
|
||||
virtual void Dump(wxTextOutputStream& stream);
|
||||
|
||||
/// Get the first position from pos that has a line break character.
|
||||
long GetFirstLineBreakPosition(long pos);
|
||||
|
||||
// Accessors
|
||||
|
||||
/// Get the text
|
||||
|
Reference in New Issue
Block a user