Represents different {@link TextEditor.revealRange reveal} strategies in a text editor.

Variables

@:enum@:implread onlyAtTop:TextEditorRevealType

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

@:enum@:implread onlyDefault:TextEditorRevealType

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

@:enum@:implread onlyInCenter:TextEditorRevealType

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

@:enum@:implread onlyInCenterIfOutsideViewport:TextEditorRevealType

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.