wut?
This commit is contained in:
@ -34,9 +34,9 @@ To run the application:
|
||||
|
||||
To evaluate code, press `Ctrl+Enter` (no visible animation). This is true for every buffer. To stop a buffer from playing, comment your code or delete it.
|
||||
|
||||
# TODO
|
||||
# TODO
|
||||
|
||||
## API
|
||||
## API
|
||||
|
||||
- [ ] Give information about its context of execution to every script
|
||||
- knowing which internal iterator to use for each script would be nice
|
||||
@ -57,7 +57,7 @@ To evaluate code, press `Ctrl+Enter` (no visible animation). This is true for ev
|
||||
## UI
|
||||
|
||||
- [x] Settings menu with all options.
|
||||
- [ ] Color themes (dark/light), other colors.
|
||||
- [ ] Color themes (dark/light), other colors.
|
||||
- [x] Font size.
|
||||
- [x] Vim mode.
|
||||
- [ ] Repair the current layout (aside + CodeMirror)
|
||||
|
||||
@ -405,7 +405,6 @@ export class Editor {
|
||||
for (let j = 0; j < tabs.length; j++) {
|
||||
if (j != i) tabs[j].classList.remove("bg-orange-300");
|
||||
}
|
||||
this.currentFile.candidate = this.view.state.doc.toString();
|
||||
let tab_id = tab.id.split("-")[1];
|
||||
this.local_index = parseInt(tab_id);
|
||||
this.updateEditorView();
|
||||
@ -438,7 +437,6 @@ export class Editor {
|
||||
if (this.local_script_tabs.classList.contains("hidden")) {
|
||||
this.local_script_tabs.classList.remove("hidden");
|
||||
}
|
||||
this.currentFile.candidate = this.view.state.doc.toString();
|
||||
this.editor_mode = 'local';
|
||||
this.local_index = 0;
|
||||
this.changeToLocalBuffer(this.local_index);
|
||||
@ -448,14 +446,12 @@ export class Editor {
|
||||
if (!this.local_script_tabs.classList.contains("hidden")) {
|
||||
this.local_script_tabs.classList.add("hidden");
|
||||
}
|
||||
this.currentFile.candidate = this.view.state.doc.toString();
|
||||
this.editor_mode = "global"; changeColor(this.global_button);
|
||||
break;
|
||||
case "init":
|
||||
if (!this.local_script_tabs.classList.contains("hidden")) {
|
||||
this.local_script_tabs.classList.add("hidden");
|
||||
}
|
||||
this.currentFile.candidate = this.view.state.doc.toString();
|
||||
this.editor_mode = "init"; changeColor(this.init_button);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user