Working with General Visual Components > Classes > TextArea > TextArea.selectAll
selectAll();
The selectAll method selects all content of text area.
The example of use is given in the page with description of the TextArea.getFormattedText method.
See also: