Documentation

DocumentHighlight
in package

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.

Table of Contents

Properties

$kind  : int|null
The highlight kind, default is DocumentHighlightKind::TEXT.
$range  : Range
The range this highlight applies to.

Methods

__construct()  : mixed

Properties

$kind

The highlight kind, default is DocumentHighlightKind::TEXT.

public int|null $kind

Methods

__construct()

public __construct([Range|null $range = null ][, int|null $kind = null ]) : mixed
Parameters
$range : Range|null = null
$kind : int|null = null

        
On this page

Search results