DocumentHighlight class

A document highlight is a range inside a text document which deserves special attention. Usually a document highlight is visualized by changing the background color of its range.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

DocumentHighlight.new(Range range, [DocumentHighlightKind? kind])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
kind DocumentHighlightKind

Available on DocumentHighlight, provided by the DocumentHighlight$Typings extension

The highlight kind, default is {@link DocumentHighlightKind.Text text}.
getter/setter pair
range Range

Available on DocumentHighlight, provided by the DocumentHighlight$Typings extension

The range this highlight applies to.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited