Provide inline value through a variable lookup. If only a range is specified, the variable name will be extracted from the underlying document. An optional variable name can be used to override the extracted name.

Constructor

new(range:Range, ?variableName:String, ?caseSensitiveLookup:Bool)

Creates a new InlineValueVariableLookup object.

Parameters:

range

The document line where to show the inline value.

variableName

The name of the variable to look up.

caseSensitiveLookup

How to perform the lookup. If missing lookup is case sensitive.

Variables

read onlycaseSensitiveLookup:Bool

How to perform the lookup.

read onlyrange:Range

The document range for which the inline value applies. The range is used to extract the variable name from the underlying document.

read onlyvariableName:Null<String>

If specified the name of the variable to look up.