Method

IdeBufferget_selection_range

since: 3.32

Declaration

IdeRange*
ide_buffer_get_selection_range (
  IdeBuffer* self
)

Description

Gets an IdeRange to represent the current buffer selection.

Available since: 3.32

Return value

Type: IdeRange

An IdeRange.

The caller of the method takes ownership of the data, and is responsible for freeing it.