getCursorPos()
public int getCursorPos()
This method returns the position of the text cursor in the presentation space.
Figure 1. Example for getCursorPos()
<varupdate name="$cursor_pos$" value="$HMLPSUtil.getCursorPos()$" />