getCursorRow()

public int getCursorRow()

This method returns the row location of the text cursor in the presentation space.

Figure 1. Example for getCursorRow()
<input value="$HMLSessionUtil.getHost()$"
          row="$HMLPSUtil.getCursorRow()$"
          col="$HMLPSUtil.getCursorCol()$+2"
          movecursor="true" xlatehostkeys="true"
          encrypted="false" />