Selects the line containing the caret.
(introduced in version 1.6)
The line beginning and ending position may depend on word wrapping.
This method repaints document, moves caret to the end of line and generates OnSelect event.
This method must be called only when the document is formatted.
See also methods: