mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-12-26 04:08:21 +01:00
update antedit
This commit is contained in:
parent
63a101d142
commit
44d877ca6e
@ -6,6 +6,7 @@ The editor functionality can be extended by its extension mechanism.
|
|||||||
Extension can be developed/released/isntalled by the editor itself.
|
Extension can be developed/released/isntalled by the editor itself.
|
||||||
|
|
||||||
### Change logs
|
### Change logs
|
||||||
|
- 0.1.12-b: fix recent files not adding correctly
|
||||||
- 0.1.11-b: fix file type parsing from path
|
- 0.1.11-b: fix file type parsing from path
|
||||||
- 0.1.10-b: Antedit now has it own extension manager
|
- 0.1.10-b: Antedit now has it own extension manager
|
||||||
- 0.1.9-a: Allow output text selection
|
- 0.1.9-a: Allow output text selection
|
||||||
|
@ -6,6 +6,7 @@ The editor functionality can be extended by its extension mechanism.
|
|||||||
Extension can be developed/released/isntalled by the editor itself.
|
Extension can be developed/released/isntalled by the editor itself.
|
||||||
|
|
||||||
### Change logs
|
### Change logs
|
||||||
|
- 0.1.12-b: fix recent files not adding correctly
|
||||||
- 0.1.11-b: fix file type parsing from path
|
- 0.1.11-b: fix file type parsing from path
|
||||||
- 0.1.10-b: Antedit now has it own extension manager
|
- 0.1.10-b: Antedit now has it own extension manager
|
||||||
- 0.1.9-a: Allow output text selection
|
- 0.1.9-a: Allow output text selection
|
||||||
|
File diff suppressed because one or more lines are too long
@ -7,7 +7,7 @@
|
|||||||
"author": "Xuan Sang LE",
|
"author": "Xuan Sang LE",
|
||||||
"email": "mrsang@iohub.dev"
|
"email": "mrsang@iohub.dev"
|
||||||
},
|
},
|
||||||
"version": "0.1.11-b",
|
"version": "0.1.12-b",
|
||||||
"category": "Development",
|
"category": "Development",
|
||||||
"iconclass": "bi bi-journal-code",
|
"iconclass": "bi bi-journal-code",
|
||||||
"mimes": [
|
"mimes": [
|
||||||
|
Binary file not shown.
@ -7,7 +7,7 @@
|
|||||||
"author": "Xuan Sang LE",
|
"author": "Xuan Sang LE",
|
||||||
"email": "mrsang@iohub.dev"
|
"email": "mrsang@iohub.dev"
|
||||||
},
|
},
|
||||||
"version": "0.1.11-b",
|
"version": "0.1.12-b",
|
||||||
"category": "Development",
|
"category": "Development",
|
||||||
"iconclass": "bi bi-journal-code",
|
"iconclass": "bi bi-journal-code",
|
||||||
"mimes": [
|
"mimes": [
|
||||||
|
@ -362,10 +362,10 @@ namespace OS {
|
|||||||
if (!e.data || !e.data.path) {
|
if (!e.data || !e.data.path) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
this.addRecent(e.data.path);
|
||||||
if (e.data.type === "dir") {
|
if (e.data.type === "dir") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.addRecent(e.data.path);
|
|
||||||
return this.eum.active.openFile(
|
return this.eum.active.openFile(
|
||||||
e.data.path.asFileHandle() as EditorFileHandle
|
e.data.path.asFileHandle() as EditorFileHandle
|
||||||
);
|
);
|
||||||
@ -904,7 +904,7 @@ namespace OS {
|
|||||||
if (this.setting.recent.includes(file)) {
|
if (this.setting.recent.includes(file)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.setting.recent.push(file);
|
this.setting.recent.unshift(file);
|
||||||
if(this.setting.recent.length > 10)
|
if(this.setting.recent.length > 10)
|
||||||
this.setting.recent = this.setting.recent.slice(0, 10);
|
this.setting.recent = this.setting.recent.slice(0, 10);
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/Antedit/README.md",
|
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/Antedit/README.md",
|
||||||
"category": "Development",
|
"category": "Development",
|
||||||
"author": "Xuan Sang LE",
|
"author": "Xuan Sang LE",
|
||||||
"version": "0.1.11-b",
|
"version": "0.1.12-b",
|
||||||
"dependencies": ["MonacoCore@0.23.0-r"],
|
"dependencies": ["MonacoCore@0.23.0-r"],
|
||||||
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/Antedit/build/release/Antedit.zip"
|
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/Antedit/build/release/Antedit.zip"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user