In This Article

EditorViewSelectionBatchOptions Enum

Specifies options for an IEditorView selection batch change.

[Flags]
public enum EditorViewSelectionBatchOptions

Fields

Name Description
EnsureExpanded

Ensure the resulting primary selection is not within a collapsed region.

ForceSelectionChangedEvent

Force a selection changed event to fire, even if there is no change in the selection.

NoClearCodeBlockSelectionHistory

Don't clear the code block selection history. Only used by the CodeBlockContract() and CodeBlockExpand() methods.

None

No options.

NoPreferredCaretHorizontalLocationsUpdate

Don't update the preferred caret horizontal locations. Used for move/selection edit actions like up, down, etc.

NoResetSearchStartOffset

Don't reset the search start offset.

NoScrollToCaret

Don't scroll to the primary caret after the selection change.