mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-07 15:57:31 +09:00
Restore source-editor commands controller for scratchpad & styleeditor menus
https://github.com/MoonchildProductions/moebius/pull/290
This commit is contained in:
parent
3d03678642
commit
28ab3c0e0d
5 changed files with 114 additions and 0 deletions
|
|
@ -1744,6 +1744,9 @@ var Scratchpad = {
|
|||
this.editor.focus();
|
||||
this.editor.setCursor({ line: lines.length, ch: lines.pop().length });
|
||||
|
||||
// Add the commands controller for the source-editor.
|
||||
this.editor.insertCommandsController();
|
||||
|
||||
if (state)
|
||||
this.dirty = !state.saved;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue