modified: static/css/side.css
modified: static/js/hotkeys.js modified: static/js/windows.js modified: views/index.html
This commit is contained in:
parent
77cd76d0c0
commit
b4b96b3985
|
@ -13,7 +13,7 @@
|
|||
"Keymap": "wide",
|
||||
"Created": 1414080000000000000,
|
||||
"Updated": 1414080000000000000,
|
||||
"Lived": 1414080000000000000,
|
||||
"Lived": 1450087804655438500,
|
||||
"Editor": {
|
||||
"FontFamily": "Consolas, 'Courier New', monospace",
|
||||
"FontSize": "13px",
|
||||
|
@ -22,9 +22,70 @@
|
|||
"TabSize": "4"
|
||||
},
|
||||
"LatestSessionContent": {
|
||||
"FileTree": [
|
||||
"fileTree": [
|
||||
"D:/Code/GoGoGo/src",
|
||||
"D:/Code/GoGoGo/src/github.com",
|
||||
"D:/Code/GoGoGo/src/github.com/b3log",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0005",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0006",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0009",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0010",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0011",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0012",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0013",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0014",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0015",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0016",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0017",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0018",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0019",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0020",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0021",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0022",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0023",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0024",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0025",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0026",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0027",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0028",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0029",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0030",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0031",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0032",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0033",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0035",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0036",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0037",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0038",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0039",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0040",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0041",
|
||||
"D:/Code/GoGoGo/src/github.com/nsf/gocode/_testing/test.0042",
|
||||
"D:/Code/GoGoGo/src/github.com/visualfc/gotools/gopresent/static",
|
||||
"D:/Code/GoGoGo/src/golang.org",
|
||||
"D:/Code/GoGoGo/src/golang.org/x",
|
||||
"D:/Code/GoGoGo/src/golang.org/x/text",
|
||||
"D:/Code/GoGoGo/src/golang.org/x/text/cases"
|
||||
],
|
||||
"Files": [],
|
||||
"CurrentFile": ""
|
||||
"files": [
|
||||
"D:/Code/GoGoGo/src/golang.org/x/text/cases/cases.go",
|
||||
"D:/Code/GoGoGo/src/golang.org/x/text/cases/context.go"
|
||||
],
|
||||
"currentFile": "D:/Code/GoGoGo/src/golang.org/x/text/cases/cases.go",
|
||||
"layout": {
|
||||
"side": {
|
||||
"state": "min",
|
||||
"size": 200
|
||||
},
|
||||
"sideRight": {
|
||||
"state": "min",
|
||||
"size": 200
|
||||
},
|
||||
"bottom": {
|
||||
"state": "min",
|
||||
"size": 100
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -82,6 +82,8 @@
|
|||
.ztree {
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
outline: 0px;
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
.ztree li a.curSelectedNode {
|
||||
|
|
|
@ -43,13 +43,9 @@ var hotkeys = {
|
|||
which: 49,
|
||||
fun: function () {
|
||||
// 有些元素需设置 tabindex 为 -1 时才可以 focus
|
||||
if ($(".footer .ico-restore:eq(0)").css("display") === "inline") {
|
||||
// 当文件树最小化时
|
||||
$(".side").css({
|
||||
"left": "0"
|
||||
});
|
||||
if (windows.outerLayout.west.state.isClosed) {
|
||||
windows.outerLayout.slideOpen('west');
|
||||
}
|
||||
|
||||
$("#files").focus();
|
||||
}
|
||||
},
|
||||
|
@ -60,11 +56,8 @@ var hotkeys = {
|
|||
shiftKey: false,
|
||||
which: 50,
|
||||
fun: function () {
|
||||
if ($(".footer .ico-restore:eq(2)").css("display") === "inline") {
|
||||
// 当文件树最小化时
|
||||
$(".side-right").css({
|
||||
"right": "0"
|
||||
});
|
||||
if (windows.innerLayout.east.state.isClosed) {
|
||||
windows.innerLayout.slideOpen('east');
|
||||
}
|
||||
|
||||
$("#outline").focus();
|
||||
|
@ -452,7 +445,7 @@ var hotkeys = {
|
|||
return false;
|
||||
}
|
||||
|
||||
if (editors.data.length > 1) {
|
||||
if (editors.data.length >= 1) {
|
||||
var nextPath = "";
|
||||
for (var i = 0, ii = editors.data.length; i < ii; i++) {
|
||||
var currentId = editors.getCurrentId();
|
||||
|
|
|
@ -271,7 +271,8 @@ var windows = {
|
|||
$('.bottom-window-group .search').height($('.bottom-window-group .tabs-panel').height());
|
||||
},
|
||||
flowBottom: function () {
|
||||
// windows.innerLayout.open('south');
|
||||
// windows.innerLayout.slideOpen('south');
|
||||
if (windows.innerLayout.south.state.isClosed) {
|
||||
windows.innerLayout.slideOpen('south');
|
||||
}
|
||||
}
|
||||
};
|
|
@ -405,7 +405,7 @@
|
|||
</div>
|
||||
<div class="tabs-panel">
|
||||
<div data-index="fileTree">
|
||||
<ul id="files" class="ztree"></ul>
|
||||
<ul id="files" class="ztree" tabindex="-1"></ul>
|
||||
<input id="importFileupload" class="fn-none" type="file"
|
||||
name="files[]" onclick="tree.import();" multiple>
|
||||
<!-- directory context menu -->
|
||||
|
|
Loading…
Reference in New Issue