Candidates Property

Definition

Assembly XenoAtom.Terminal.dll

Gets optional completion candidates. When provided, the line editor applies the first candidate and subsequent Tab presses cycle through the list until the user performs another edit action.

[Nullable(new byte[] { (byte)2, (byte)1 })]
public IReadOnlyList<string>? Candidates {[CompilerGenerated]
    get; [CompilerGenerated]
    init; }

Returns

Remarks

When using candidates, the editor replaces a range of text. Set ReplaceStart/ReplaceLength to control the replacement. When not set, the editor replaces the current selection if any; otherwise, it replaces the token fragment to the left of the cursor (best effort).