Method GTK2.TextBuffer()->get_selection_bounds()

class GTK2.TextBuffer

Method get_selection_bounds

array get_selection_bounds()

Description

Returns either an array with start and end W(TextIter) if some text is selected, or 0 if there's no active selection.