Snippet.getFocusPosition

int getFocusPosition()

Gets the current focus for the snippet.

This is changed as the user tabs through focus locations.

Returns

The focus position, or -1 if unset.