selection
but {@linkplain #isEmpty(ISelection) empty}. Typically, the selection is reduced to its extreme offsets.
@param selection the selection
@param beginning true
to collapse the selection to its smallest position (i.e.its left-most offset), false
to collapse it to its greatest position (e.g its right-most offset)
@return an empty variant of selection
@throws BadLocationException if accessing the document failed
|
|
|
|
|
|