commandAnchorLineId

fun commandAnchorLineId(recordId: Int): Long

Returns the preferred navigation anchor line for recordId.

Commands with a prompt marker navigate to the prompt start. Orphan command records navigate to the command-output start. Prompt-only records and evicted records return 0.

Return

stable line id to reveal, or 0 when unavailable.

Parameters

recordId

retained command record id.