convertPosToCol()

public int convertPosToCol(int pos)

This method returns the column number associated with the specified position in the presentation space.

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