Enumeration TextEditorRevealType

Represents different reveal strategies in a text editor.

Enumeration Members

AtTop: 3

The range will always be revealed at the top of the viewport.

Default: 0

The range will be revealed with as little scrolling as possible.

InCenter: 1

The range will always be revealed in the center of the viewport.

InCenterIfOutsideViewport: 2

If the range is outside the viewport, it will be revealed in the center of the viewport. Otherwise, it will be revealed with as little scrolling as possible.