diff options
| author | Shulhan <ms@kilabit.info> | 2021-07-26 23:22:53 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2021-07-26 23:22:53 +0700 |
| commit | 368f58ff4b70d17b1bfc7bc5ced80efc48d0d293 (patch) | |
| tree | ab675342de7343420cba4d99aa3b10bb1fafe1f6 /editor/editor.d.ts | |
| parent | 765e1f6a9bdac081fee70362542ce72e14a0abb5 (diff) | |
| download | pakakeh.ts-368f58ff4b70d17b1bfc7bc5ced80efc48d0d293.tar.xz | |
editor: init the style sheet using javascript and add support for tab
Diffstat (limited to 'editor/editor.d.ts')
| -rw-r--r-- | editor/editor.d.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor.d.ts b/editor/editor.d.ts index 59f02fa..5e781e5 100644 --- a/editor/editor.d.ts +++ b/editor/editor.d.ts @@ -20,6 +20,7 @@ export declare class Editor implements IEditor { constructor(opts: IEditor); OpenFile(path: string): Response; SaveFile(node: IVfsNode): Response; + initStyle(): void; insertNewline(x: number): void; onClickText(text: HTMLElement): void; onKeydownText(x: number, text: HTMLElement, ev: KeyboardEvent): boolean; |
