1 | import { IRankedMenu, RankedMenu } from '@jupyterlab/ui-components';
|
2 | import { SemanticCommand } from '@jupyterlab/apputils';
|
3 |
|
4 |
|
5 |
|
6 | export interface IViewMenu extends IRankedMenu {
|
7 | |
8 |
|
9 |
|
10 | readonly editorViewers: IViewMenu.IEditorViewer;
|
11 | }
|
12 |
|
13 |
|
14 |
|
15 | export declare class ViewMenu extends RankedMenu implements IViewMenu {
|
16 | |
17 |
|
18 |
|
19 | constructor(options: IRankedMenu.IOptions);
|
20 | /**
|
21 | * Semantic commands IEditorViewer for the View menu.
|
22 | */
|
23 | readonly editorViewers: IViewMenu.IEditorViewer;
|
24 | }
|
25 | /**
|
26 | * Namespace for IViewMenu.
|
27 | */
|
28 | export declare namespace IViewMenu {
|
29 | |
30 |
|
31 |
|
32 |
|
33 | interface IEditorViewer {
|
34 | |
35 |
|
36 |
|
37 | toggleLineNumbers: SemanticCommand;
|
38 | |
39 |
|
40 |
|
41 | toggleWordWrap: SemanticCommand;
|
42 | |
43 |
|
44 |
|
45 | toggleMatchBrackets: SemanticCommand;
|
46 | }
|
47 | }
|