Skip to content

CodeToken

Record struct in Oadm.Sdk.Client.Controls · Oadm.Sdk.Client.dll

A highlighted range of CodeDocument.Text.

public readonly record struct CodeToken(int Start, int Length, CodeTokenKind Kind)

Parameters

  • Start: First character in the text.
  • Length: Number of characters.
  • Kind: How it is colored.
CodeTokenKind Kind { get; init; }

How it is colored.

int Length { get; init; }

Number of characters.

int Start { get; init; }

First character in the text.