BBjCEdit::getSelection
Description
Returns the selected text in the BBjCEdit control.
Syntax
Return Value |
Method |
getSelection() |
Parameters
None.
Return Value
Returns a four-element BBjVector that identifies the currently selected text in the BBjCEdit control. If the vector is Selection!, then Selection!.getItem(0) and Selection!.getItem(1) identify the paragraph and offset of the beginning of the selected text while Selection!.getItem(2) and Selection!.getItem(3) identify the paragraph and offset of the end of the selected text. All values are zero-based. If the start and end points are the same, there is no selection and the location of the caret (insertion point) is reported.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.