getCursorPos()

public int getCursorPos()

This method returns the position of the text cursor in the presentation space.

Figure 1. Examples for getCursorPos()
<message title="'Example of getCursorPos()'"
          value="'Cursor is at row '+
          $HMLPSUtil.convertPosToRow($HMLPSUtil.getCursorPos()$)$+
          ' and column '+
          $HMLPSUtil.convertPosToCol($HMLPSUtil.getCursorPos()$)$" />