Method

IdeEditorPagescroll_to_line_offset

since: 3.32

Declaration

void
ide_editor_page_scroll_to_line_offset (
  IdeEditorPage* self,
  guint line,
  guint line_offset
)

Description

Like ide_editor_page_scroll_to_line() but allows specifying the line offset (column) to place the cursor on.

This will move the insert cursor.

Lines and offsets start from 0.

If line_offset is zero, the first non-space character of line will be used instead.

Available since: 3.32

Parameters

line

Type: guint

The line to scroll to.

line_offset

Type: guint

The line offset.