TX Text Control .NET Server

Javascript: InputPositionChangedEventArgs.line Property

Property|Introduced in 24.0

Description

The line number of the current text input position.

Syntax

<number> InputPositionChangedEventArgs.line

Examples

The following example demonstrates InputPositionChangedEventArgs.line in a practical document-editing workflow. The line number of the current text input position.

function inspectLine(inputPositionChangedEventArgs) {
    const line = inputPositionChangedEventArgs.line;
    console.log("line:", line);
}