public class SearchMatch
One non-overlapping text occurrence. Line and column are one-based Unicode scalar coordinates; endColumn is exclusive. text excludes CR/LF terminators. Example: print(f"{hit.path}:{hit.line}:{hit.column}: {hit.text}")
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly | columncolumn as Long |
One-based Unicode scalar column. |
| public readonly | endColumnendColumn as Long |
Exclusive end column. |
| public readonly | lineline as Long |
One-based line number. |
| public readonly | pathpath as FilePath |
Matched file. |
| public readonly | texttext as String |
Complete matching line, without terminator. |
| public readonly | valuevalue as String |
Matched substring. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | SearchMatch | Creates one result. |