This commit is contained in:
Liang Ding 2014-10-22 17:06:49 +08:00
parent ce1ebda2a6
commit bc9145790c
2 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
/wide.exe /wide.exe
/wide /wide
/main
/data/workspace/bin/ /data/workspace/bin/
/data/workspace/pkg/ /data/workspace/pkg/

View File

@ -433,6 +433,8 @@ var wide = {
return false; return false;
} }
// TODO: 只保存未保存过的文件
for (var i = 0, ii = editors.data.length; i < ii; i++) { for (var i = 0, ii = editors.data.length; i < ii; i++) {
this.fmt(tree.fileTree.getNodeByTId(editors.data[i].id).path, editors.data[i].editor); this.fmt(tree.fileTree.getNodeByTId(editors.data[i].id).path, editors.data[i].editor);
} }