From 5f5d1e48822603c7ac089f2e3aa76e0d569fb57e Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sat, 22 Mar 2008 15:02:31 +0000 Subject: [PATCH] documented SelectAll() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/textctrl.h | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) 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. -- 2.50.0