Skip to content

API reference / Common / SearchMatch

Interface: SearchMatch ​

One match: where it is in the model, where it is drawn, and the text around it for a results list.

Properties ​

PropertyDescription
location
SearchMatchLocation
Where the match is in the model — what the selection conversion reads.
plane
number
The layout plane it is drawn on — 0 but for a spreadsheet's other sheets.
page
number
The page it starts on.
quads
SearchQuad[]
Its highlight, in reading order.
context
[string, string, string]
The words before it, the match itself, and the words after it.