Extracted from Pike v8.0 release 240 as of 2016-05-30.
   

Method GTK2.TextBuffer()->get_selection_bounds()


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.