TextEditorRevealType

Represents different reveal strategies in a text editor.

Online Documentation

Properties

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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.