Delen via


EditDisplayStyle Enum

Definition

How to display the suggestion to the user.

This enumeration supports a bitwise combination of its member values.

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

Fields

Name Value Description
GrayText 0

Show the proposed edits as if the edits had been applied using gray text.

DiffView 1

Show the differences between the original and proposed code using a diff-like adornment.

SideBySide 2

Show the original and modified code side-by-side.

MarkerOnly 3

Show highlights over text that would be changed by the suggestion (but do not preview the changes).

MarkersOnlyThenGrayText 4

Preview the proposed change: display using the as MarkerOnly style until the user tabs and then display using the GrayText style.

StyleMask 255

Mask used to filter out the discrete edit styles from any option flags.

ExtentHighlight 256

Show a vertical line to the left of all changes to indicate the range of modified text.

ScopeHighlight 512

Show a scope highlight over the proposal's Scope.

DismissOnCaretMove 1024

Automatically dismiss the suggestion if the caret is moved.

Remarks

Only GrayText is supported at the moment.

Applies to