Share via


ReasonForUpdate Enum

Definition

Why was a proposal updated or did a user action diverge from the proposal, causing the proposal (but not the SuggestionSessionBase) to be dismissed?

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum ReasonForUpdate
[<System.Flags>]
type ReasonForUpdate = 
Public Enum ReasonForUpdate
Inheritance
ReasonForUpdate
Attributes

Fields

Diverged 131072

Bit indicating that a user change happened that could not be reconciled with the user's action. If this bit has been set, then the proposal has been dismissed (but the SuggestionSessionBase is still active and can be used to display an alternate proposal).

DivergedAfterBackspace 131078

The user did a backspace and that change could not be reconciled with the proposal.

DivergedAfterCompletionChange 131073

The CompletionState's SelectedItem changed and proposal was dismissed.

DivergedAfterCompletionItemCommitted 131074

The user committed the completion item using something like a tab (so no subsequent commands are pending) and the change could not be reconciled with the proposal so the proposal was dismissed.

DivergedAfterCompletionItemCommittedCommandPending 131075

The user committed the completion item using a commit character and the change could not be reconciled with the proposal so the proposal was dismissed. This update happens after the item is committed but before the commit character is added to the buffer.

DivergedAfterReturn 131077

The user hit return and that change could not be reconciled with the proposal.

DivergedAfterTypeChar 131076

The user typed a character that could not be reconciled with the proposal.

DivergedDueToChangeProposal 131080

The proposal given to DisplayProposalAsync(ProposalBase, CancellationToken) has been removed because the user cycled to the next or previous proposal.

DivergedDueToInvalidProposal 131079

The proposal given to DisplayProposalAsync(ProposalBase, CancellationToken) could not be reconciled with the current state of the buffer.

Updated 65536

Bit indicating that the proposal was successfully updated after some user action

UpdatedAfterBackspace 65542

The user backspaced.

UpdatedAfterCompletionChange 65537

The CompletionState's SelectedItem changed and proposal was updated.

UpdatedAfterCompletionItemCommitted 65538

The user committed the completion item using something like a tab (so no subsequent commands are pending).

UpdatedAfterCompletionItemCommittedCommandPending 65539

The user committed the completion item using a commit character. This update happens after the item is committed but before the commit character is added to the buffer.

UpdatedAfterReturn 65541

The user executed a Return command.

UpdatedAfterTypeChar 65540

The user executed a TypeChar command.

Applies to