From: Václav Slavík Date: Sat, 22 Mar 2008 15:02:31 +0000 (+0000) Subject: documented SelectAll() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5f5d1e48822603c7ac089f2e3aa76e0d569fb57e documented SelectAll() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/textctrl.h b/interface/textctrl.h index 5332168e63..65cbd6e747 100644 --- a/interface/textctrl.h +++ b/interface/textctrl.h @@ -1224,17 +1224,26 @@ public: void SetModified(bool modified); /** - Selects the text starting at the first position up to (but not including) the - character at the last position. If both parameters are equal to -1 all text - in the control is selected. + Selects the text starting at the first position up to (but not + including) the character at the last position. If both parameters are + equal to -1 all text in the control is selected. @param from The first position. @param to The last position. + + @see SelectAll() */ 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 not set, the corresponding attribute from GetDefaultStyle() is used.