convertPosToCol()

public int convertPosToCol(int pos)

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

Figure 1. Example for convertPosToCol()
<varupdate name="$cursor_col$ value="$HMLPSUtil.convertPosToCol($HMLPSUtil.getCursorPos()$) $" />