1 | import { CodeEditor } from '@jupyterlab/codeeditor';
|
2 | import { EditorSearchProvider } from '@jupyterlab/codemirror';
|
3 | import { IBaseSearchProvider } from '@jupyterlab/documentsearch';
|
4 | import { ICellModel } from './model';
|
5 | import { Cell } from './widget';
|
6 |
|
7 |
|
8 |
|
9 | export declare const SELECTED_HIGHLIGHT_CLASS = "jp-mod-selected";
|
10 |
|
11 |
|
12 |
|
13 | export declare class CellSearchProvider extends EditorSearchProvider<ICellModel> implements IBaseSearchProvider {
|
14 | protected cell: Cell<ICellModel>;
|
15 | constructor(cell: Cell<ICellModel>);
|
16 | /**
|
17 | * Text editor
|
18 | */
|
19 | protected get editor(): CodeEditor.IEditor | null;
|
20 | /**
|
21 | * Editor content model
|
22 | */
|
23 | protected get model(): ICellModel;
|
24 | }
|
25 | /**
|
26 | * Factory to create a cell search provider
|
27 | *
|
28 | * @param cell Cell widget
|
29 | * @returns Cell search provider
|
30 | */
|
31 | export declare function createCellSearchProvider(cell: Cell<ICellModel>): CellSearchProvider;
|