View Source GenLSP.Structures.DocumentHighlight (gen_lsp v0.7.3)

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.

Link to this section Summary

Functions

Fields

  • range: The range this highlight applies to.
  • kind: The highlight kind, default is {@link DocumentHighlightKind.Text text}.

Link to this section Types

@type t() :: %GenLSP.Structures.DocumentHighlight{
  kind: GenLSP.Enumerations.DocumentHighlightKind.t() | nil,
  range: GenLSP.Structures.Range.t()
}

Link to this section Functions

Link to this function

%GenLSP.Structures.DocumentHighlight{}

View Source (struct)

fields

Fields

  • range: The range this highlight applies to.
  • kind: The highlight kind, default is {@link DocumentHighlightKind.Text text}.