mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 21:14:28 -08:00
toggle editor fullscreen (focus mode)
This commit is contained in:
@@ -283,6 +283,7 @@ export class UI {
|
||||
['Step out of call', 'Ctrl-o', '\\o'],
|
||||
['When in call tree view, jump to return statement', 'Enter'],
|
||||
['When in call tree view, jump to function arguments', 'a'],
|
||||
['Expand/collapse editor to fullscreen', 'F5'],
|
||||
]
|
||||
return el('dialog', 'help_dialog',
|
||||
el('table', 'help',
|
||||
@@ -314,4 +315,9 @@ export class UI {
|
||||
)
|
||||
}
|
||||
|
||||
fullscreen_editor() {
|
||||
this.root.classList.toggle('fullscreen_editor')
|
||||
this.editor.ace_editor.resize()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user