fixed #178
This commit is contained in:
parent
6efeb4b9d0
commit
5dccf1f381
|
@ -22,18 +22,30 @@
|
||||||
"GoFormat": "gofmt",
|
"GoFormat": "gofmt",
|
||||||
"FontFamily": "Helvetica",
|
"FontFamily": "Helvetica",
|
||||||
"FontSize": "13px",
|
"FontSize": "13px",
|
||||||
"Theme": "default",
|
"Theme": "black",
|
||||||
"Editor": {
|
"Editor": {
|
||||||
"FontFamily": "Consolas, 'Courier New', monospace",
|
"FontFamily": "Consolas, 'Courier New', monospace",
|
||||||
"FontSize": "13px",
|
"FontSize": "13px",
|
||||||
"LineHeight": "17px",
|
"LineHeight": "17px",
|
||||||
"Theme": "wide",
|
"Theme": "erlang-dark",
|
||||||
"TabSize": "4"
|
"TabSize": "4"
|
||||||
},
|
},
|
||||||
"LatestSessionContent": {
|
"LatestSessionContent": {
|
||||||
"FileTree": [],
|
"FileTree": [
|
||||||
"Files": [],
|
"E:\\Work\\go\\src",
|
||||||
"CurrentFile": ""
|
"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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -91,14 +91,14 @@ var editors = {
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#dialogCloseEditor button.discard").click(function () {
|
$("#dialogCloseEditor button.discard").click(function () {
|
||||||
|
var i = $("#dialogCloseEditor").data("index");
|
||||||
|
editors.tabs.del(editors.data[i].id);
|
||||||
$("#dialogCloseEditor").dialog("close");
|
$("#dialogCloseEditor").dialog("close");
|
||||||
|
|
||||||
editors._removeAllMarker();
|
editors._removeAllMarker();
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#dialogCloseEditor button.cancel").click(function () {
|
$("#dialogCloseEditor button.cancel").click(function () {
|
||||||
var i = $("#dialogCloseEditor").data("index");
|
|
||||||
editors.tabs.del(editors.data[i].id);
|
|
||||||
$("#dialogCloseEditor").dialog("close");
|
$("#dialogCloseEditor").dialog("close");
|
||||||
|
|
||||||
editors._removeAllMarker();
|
editors._removeAllMarker();
|
||||||
|
|
Loading…
Reference in New Issue