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.