struct NativeSemanticTextGeometry
source · line 13public struct NativeSemanticTextGeometry(val context: Ptr<Unit>, val retain: FunPtr<(Ptr<Unit>) -> Unit>, val release: FunPtr<(Ptr<Unit>) -> Unit>, val range: FunPtr<(Ptr<Unit>, Long, Int, Int) -> NativeSemanticTextRange>, val lineRange: FunPtr<(Ptr<Unit>, Long) -> NativeSemanticTextRange>, val lineIndex: FunPtr<(Ptr<Unit>, Long, Int) -> Long>, val rangeAtPoint: FunPtr<(Ptr<Unit>, Double, Double) -> NativeSemanticTextRange>, val boxes: FunPtr<
(
Ptr<Unit>,
Long,
Long,
Ptr<Unit>,
FunPtr<(Ptr<Unit>, Double, Double, Double, Double) -> Unit>
) -> Int
>, val visibleRange: FunPtr<(Ptr<Unit>) -> NativeSemanticTextRange>)
Paired native queries matching the published text and accepted scene. Coordinates are window-logical. Functions and synchronous box visitors never enter Scoop. Affinity is 0 upstream or 1 downstream; units 0..3 are grapheme, word, visual and logical line.
field context
source · line 14val context: Ptr<Unit>
field boxes
source · line 22val boxes: FunPtr<
(
Ptr<Unit>,
Long,
Long,
Ptr<Unit>,
FunPtr<(Ptr<Unit>, Double, Double, Double, Double) -> Unit>
) -> Int
>
field visibleRange
source · line 31val visibleRange: FunPtr<(Ptr<Unit>) -> NativeSemanticTextRange>
field release
source · line 16val release: FunPtr<(Ptr<Unit>) -> Unit>
field rangeAtPoint
source · line 21val rangeAtPoint: FunPtr<(Ptr<Unit>, Double, Double) -> NativeSemanticTextRange>
constructor constructor
source · line 13constructor(val context: Ptr<Unit>, val retain: FunPtr<(Ptr<Unit>) -> Unit>, val release: FunPtr<(Ptr<Unit>) -> Unit>, val range: FunPtr<(Ptr<Unit>, Long, Int, Int) -> NativeSemanticTextRange>, val lineRange: FunPtr<(Ptr<Unit>, Long) -> NativeSemanticTextRange>, val lineIndex: FunPtr<(Ptr<Unit>, Long, Int) -> Long>, val rangeAtPoint: FunPtr<(Ptr<Unit>, Double, Double) -> NativeSemanticTextRange>, val boxes: FunPtr<
(
Ptr<Unit>,
Long,
Long,
Ptr<Unit>,
FunPtr<(Ptr<Unit>, Double, Double, Double, Double) -> Unit>
) -> Int
>, val visibleRange: FunPtr<(Ptr<Unit>) -> NativeSemanticTextRange>)
parameter boxes
source · line 22val boxes: FunPtr<
(
Ptr<Unit>,
Long,
Long,
Ptr<Unit>,
FunPtr<(Ptr<Unit>, Double, Double, Double, Double) -> Unit>
) -> Int
>
parameter lineIndex
source · line 20val lineIndex: FunPtr<(Ptr<Unit>, Long, Int) -> Long>
parameter lineRange
source · line 18val lineRange: FunPtr<(Ptr<Unit>, Long) -> NativeSemanticTextRange>
parameter range
source · line 17val range: FunPtr<(Ptr<Unit>, Long, Int, Int) -> NativeSemanticTextRange>
parameter release
source · line 16val release: FunPtr<(Ptr<Unit>) -> Unit>
parameter visibleRange
source · line 31val visibleRange: FunPtr<(Ptr<Unit>) -> NativeSemanticTextRange>
parameter context
source · line 14val context: Ptr<Unit>
parameter rangeAtPoint
source · line 21val rangeAtPoint: FunPtr<(Ptr<Unit>, Double, Double) -> NativeSemanticTextRange>
parameter retain
source · line 15val retain: FunPtr<(Ptr<Unit>) -> Unit>
field retain
source · line 15val retain: FunPtr<(Ptr<Unit>) -> Unit>
field lineIndex
source · line 20val lineIndex: FunPtr<(Ptr<Unit>, Long, Int) -> Long>
Nonnegative line index; -1 unavailable, -2 invalid argument, -3 native failure.
field range
source · line 17val range: FunPtr<(Ptr<Unit>, Long, Int, Int) -> NativeSemanticTextRange>
field lineRange
source · line 18val lineRange: FunPtr<(Ptr<Unit>, Long) -> NativeSemanticTextRange>
function equals
source · line 13operator fun equals(other: NativeSemanticTextGeometry): Boolean
This derived operation is available when each field or payload type supports same-type equality. Required types: Ptr<Unit>, FunPtr<(Ptr<Unit>) -> Unit>, FunPtr<(Ptr<Unit>, Long, Int, Int) -> NativeSemanticTextRange>, FunPtr<(Ptr<Unit>, Long) -> NativeSemanticTextRange>, FunPtr<(Ptr<Unit>, Long, Int) -> Long>, FunPtr<(Ptr<Unit>, Double, Double) -> NativeSemanticTextRange>, FunPtr<(Ptr<Unit>, Long, Long, Ptr<Unit>, FunPtr<(Ptr<Unit>, Double, Double, Double, Double) -> Unit>) -> Int>, FunPtr<(Ptr<Unit>) -> NativeSemanticTextRange>.