Method

GtkSourceBuffersort_lines

Declaration [src]

void
gtk_source_buffer_sort_lines (
  GtkSourceBuffer* buffer,
  GtkTextIter* start,
  GtkTextIter* end,
  GtkSourceSortFlags flags,
  gint column
)

Description [src]

Sort the lines of text between the specified iterators.

Parameters

start GtkTextIter
 

A GtkTextIter.

 The data is owned by the caller of the function.
end GtkTextIter
 

A GtkTextIter.

 The data is owned by the caller of the function.
flags GtkSourceSortFlags
 

GtkSourceSortFlags specifying how the sort should behave.

column gint
 

Sort considering the text starting at the given column.