Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SearchInWorkspaceResultLineNode

Hierarchy

Index

Properties

Optional Readonly busy

busy: number

Whether this node is busy. Greater than 0 then busy; otherwise not.

character

character: number

The (1-based) character number in the result line. For UTF-8 files, one multi-byte character counts as one character.

Optional Readonly description

description: string

A human-readable description of this tree node.

deprecated

use LabelProvider.getLongName instead or move this property to your tree node type

fileUri

fileUri: string

The string uri to the file containing the result.

Optional focus

focus: boolean

true if the tree node has the focus. Otherwise, false. Defaults to false.

Optional Readonly icon

icon: string

A css string for this tree node icon.

deprecated

use LabelProvider.getIcon instead or move this property to your tree node type

Readonly id

id: string

An unique id of this node.

length

length: number

The length of the match, in characters. For UTF-8 files, one multi-byte character counts as one character.

line

line: number

The (1-based) line number of the result.

lineText

lineText: string | LinePreview

The text of the line containing the result.

matches

matches: SearchMatch[]

matches found in the file

Optional Readonly name

name: string

A human-readable name of this tree node.

deprecated

use LabelProvider.getName instead or move this property to your tree node type

Optional Readonly nextSibling

nextSibling: TreeNode

A next sibling of this tree node.

parent

Optional Readonly previousSibling

previousSibling: TreeNode

A previous sibling of this tree node.

root

root: string

The string uri to the root folder that the search was performed.

selected

selected: boolean

true if the tree node is selected. Otherwise, false.

Optional Readonly visible

visible: boolean

Test whether this node should be rendered. If undefined then node will be rendered.