This commit is contained in:
Van 2014-12-02 11:09:53 +08:00
parent 6efeb4b9d0
commit 5dccf1f381
2 changed files with 19 additions and 7 deletions

View File

@ -22,18 +22,30 @@
"GoFormat": "gofmt",
"FontFamily": "Helvetica",
"FontSize": "13px",
"Theme": "default",
"Theme": "black",
"Editor": {
"FontFamily": "Consolas, 'Courier New', monospace",
"FontSize": "13px",
"LineHeight": "17px",
"Theme": "wide",
"Theme": "erlang-dark",
"TabSize": "4"
},
"LatestSessionContent": {
"FileTree": [],
"Files": [],
"CurrentFile": ""
"FileTree": [
"E:\\Work\\go\\src",
"E:\\Work\\go\\src\\code.google.com\\p",
"E:\\Work\\go\\src\\code.google.com\\p\\go.net",
"E:\\Work\\go\\src\\github.com",
"E:\\Work\\go\\src\\github.com\\88250",
"E:\\Work\\go\\src\\github.com\\88250\\gohtml",
"E:\\Work\\go\\src\\github.com\\b3log\\wide",
"E:\\Work\\go\\src\\hello",
"D:\\go\\src\\pkg"
],
"Files": [
"E:\\Work\\go\\src\\github.com\\88250\\gohtml\\consts.go"
],
"CurrentFile": "E:\\Work\\go\\src\\github.com\\88250\\gohtml\\consts.go"
}
}
]

View File

@ -91,14 +91,14 @@ var editors = {
});
$("#dialogCloseEditor button.discard").click(function () {
var i = $("#dialogCloseEditor").data("index");
editors.tabs.del(editors.data[i].id);
$("#dialogCloseEditor").dialog("close");
editors._removeAllMarker();
});
$("#dialogCloseEditor button.cancel").click(function () {
var i = $("#dialogCloseEditor").data("index");
editors.tabs.del(editors.data[i].id);
$("#dialogCloseEditor").dialog("close");
editors._removeAllMarker();