update antedit

This commit is contained in:
lxsang 2021-10-12 11:42:15 +02:00
parent 63a101d142
commit 44d877ca6e
8 changed files with 8 additions and 6 deletions

View File

@ -6,6 +6,7 @@ The editor functionality can be extended by its extension mechanism.
Extension can be developed/released/isntalled by the editor itself.
### Change logs
- 0.1.12-b: fix recent files not adding correctly
- 0.1.11-b: fix file type parsing from path
- 0.1.10-b: Antedit now has it own extension manager
- 0.1.9-a: Allow output text selection

View File

@ -6,6 +6,7 @@ The editor functionality can be extended by its extension mechanism.
Extension can be developed/released/isntalled by the editor itself.
### Change logs
- 0.1.12-b: fix recent files not adding correctly
- 0.1.11-b: fix file type parsing from path
- 0.1.10-b: Antedit now has it own extension manager
- 0.1.9-a: Allow output text selection

File diff suppressed because one or more lines are too long

View File

@ -7,7 +7,7 @@
"author": "Xuan Sang LE",
"email": "mrsang@iohub.dev"
},
"version": "0.1.11-b",
"version": "0.1.12-b",
"category": "Development",
"iconclass": "bi bi-journal-code",
"mimes": [

Binary file not shown.

View File

@ -7,7 +7,7 @@
"author": "Xuan Sang LE",
"email": "mrsang@iohub.dev"
},
"version": "0.1.11-b",
"version": "0.1.12-b",
"category": "Development",
"iconclass": "bi bi-journal-code",
"mimes": [

View File

@ -362,10 +362,10 @@ namespace OS {
if (!e.data || !e.data.path) {
return;
}
this.addRecent(e.data.path);
if (e.data.type === "dir") {
return;
}
this.addRecent(e.data.path);
return this.eum.active.openFile(
e.data.path.asFileHandle() as EditorFileHandle
);
@ -904,7 +904,7 @@ namespace OS {
if (this.setting.recent.includes(file)) {
return;
}
this.setting.recent.push(file);
this.setting.recent.unshift(file);
if(this.setting.recent.length > 10)
this.setting.recent = this.setting.recent.slice(0, 10);

View File

@ -45,7 +45,7 @@
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/Antedit/README.md",
"category": "Development",
"author": "Xuan Sang LE",
"version": "0.1.11-b",
"version": "0.1.12-b",
"dependencies": ["MonacoCore@0.23.0-r"],
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/Antedit/build/release/Antedit.zip"
},