(page: number)
| 406 | ): Results => { |
| 407 | const { index } = loaded |
| 408 | const inScope = (page: number) => |
| 409 | scope === undefined || index.pages[page].section === scope |
| 410 | if (!query.trim()) { |
| 411 | // before typing, the scope's pages |
| 412 | const groups = new Map<number, Group>() |