get_focus_position


Description:

public int get_focus_position ()

Gets the [property@SnippetChunk:focus-position].

The focus-position is used to determine how many tabs it takes for the snippet to advanced to this chunk.

A focus-position of zero will be the last focus position of the snippet and snippet editing ends when it has been reached.

A focus-position of -1 means the chunk cannot be focused by the user.

Parameters:

this

a SnippetChunk

Returns:

the focus-position