getFocusPosition

open fun getFocusPosition(): Int

Gets the current focus for the snippet.

This is changed as the user tabs through focus locations.

Return

The focus position, or -1 if unset.