get_n_selections


Description:

public abstract int get_n_selections ()

Gets the number of selected regions.

Parameters:

this

an Text

Returns:

The number of selected regions, or -1 in the case of failure.