documented SelectAll()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2008-03-22 15:02:31 +00:00
parent d155b6f47e
commit 5f5d1e4882

View File

@@ -1224,17 +1224,26 @@ public:
void SetModified(bool modified); void SetModified(bool modified);
/** /**
Selects the text starting at the first position up to (but not including) the Selects the text starting at the first position up to (but not
character at the last position. If both parameters are equal to -1 all text including) the character at the last position. If both parameters are
in the control is selected. equal to -1 all text in the control is selected.
@param from @param from
The first position. The first position.
@param to @param to
The last position. The last position.
@see SelectAll()
*/ */
virtual void SetSelection(long from, long to); virtual void SetSelection(long from, long to);
/**
Selects all text in the control.
@see SetSelection()
*/
virtual void SelectAll();
/** /**
Changes the style of the given range. If any attribute within @a style is Changes the style of the given range. If any attribute within @a style is
not set, the corresponding attribute from GetDefaultStyle() is used. not set, the corresponding attribute from GetDefaultStyle() is used.