converseLib.getCursorLine() システム関数は、テキスト UI 書式内でカーソルが現在位置している行の番号を戻します。
converseLib.getCursorLine() returns(result INT)