SwingHyperlinkDetectionRequest

Immutable visible terminal text snapshot passed to SwingHyperlinkDetector.

Lines are logical terminal lines: soft-wrapped render rows are joined, and a line separator is appended to each line to match IntelliJ-style console filter contracts. Offsets returned by lineStartOffset and lineEndOffset are cumulative UTF-16 offsets across all lines in this request.

Properties

Link copied to clipboard

Number of logical lines in this visible snapshot.

Functions

Link copied to clipboard
fun lineEndOffset(index: Int): Int

Returns the cumulative UTF-16 end offset for logical line index.

Link copied to clipboard
fun lineStartOffset(index: Int): Int

Returns the cumulative UTF-16 start offset for logical line index.

Link copied to clipboard
fun lineText(index: Int): String

Returns the logical line text at index.