aboutsummaryrefslogtreecommitdiff
path: root/editor/editor.ts
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2021-08-29 18:24:18 +0700
committerShulhan <ms@kilabit.info>2021-08-29 18:24:18 +0700
commit7f431bc3680a9f4b6ee82c16dadd5323c415c2b7 (patch)
treed59bd0f7bdee1cf82fb3bc32299e56e9a21baae1 /editor/editor.ts
parentdf4d520dca28e6907918f3ad67be58448dd92432 (diff)
downloadpakakeh.ts-7f431bc3680a9f4b6ee82c16dadd5323c415c2b7.tar.xz
editor: make the lines field become public
Diffstat (limited to 'editor/editor.ts')
-rw-r--r--editor/editor.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor.ts b/editor/editor.ts
index e8883c4..75be1dd 100644
--- a/editor/editor.ts
+++ b/editor/editor.ts
@@ -24,6 +24,7 @@ export interface WuiEditorOptions {
export class WuiEditor {
id: string
is_editable: boolean
+ lines: WuiEditorLine[] = []
private el!: HTMLElement
private sel!: Selection
private active_file: WuiVfsNodeInterface | null = null
@@ -31,7 +32,6 @@ export class WuiEditor {
private range_begin: number = -1
private range_end: number = -1
private raw_lines: string[] = []
- private lines: WuiEditorLine[] = []
private range!: Range
private is_key_control: boolean = false
private unre: WuiEditorUndoRedo = new WuiEditorUndoRedo()