Share 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

DiffView 1

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

DismissOnCaretMove 1024

Automatically dismiss the suggestion if the caret is moved.

ExtentHighlight 256

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

GrayText 0

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

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.

ScopeHighlight 512

Show a scope highlight over the proposal's Scope.

SideBySide 2

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

StyleMask 255

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

Remarks

Only GrayText is supported at the moment.

Applies to