编辑器搜索
This commit is contained in:
parent
f5ed249913
commit
b80ec4e8c8
|
@ -329,7 +329,7 @@
|
|||
"confirm": "{{.i18n.confirm}}",
|
||||
"build_n_run": "{{.i18n.build_n_run}}",
|
||||
"stop": "{{.i18n.stop}}",
|
||||
"usages": "{{.i18n.usages}}",
|
||||
"usages": "{{.i18n.find_usages}}",
|
||||
"search_text": "{{.i18n.search_text}}",
|
||||
"search": "{{.i18n.search}}",
|
||||
"initialise": "{{.i18n.initialise}}",
|
||||
|
|
|
@ -45,8 +45,12 @@
|
|||
"notification": "通知",
|
||||
"min": "最小化",
|
||||
"restore_side": "左侧窗口还原",
|
||||
"usages": "查找使用",
|
||||
"search_text": "查找文本",
|
||||
"find": "查找",
|
||||
"find_next": "查找下一个",
|
||||
"find_previous": "查找上一个",
|
||||
"replace": "替换",
|
||||
"replace_all": "替换全部",
|
||||
"restore_bottom": "底部窗口还原",
|
||||
"file_format": "文件后缀",
|
||||
"keyword": "关键字",
|
||||
|
|
|
@ -364,7 +364,7 @@ var editors = {
|
|||
searcHTML += '</ul>';
|
||||
|
||||
var $search = $('.bottom-window-group .search'),
|
||||
title = config.label.usages;
|
||||
title = config.label.find_usages;
|
||||
if (type === "founds") {
|
||||
title = config.label.search_text;
|
||||
}
|
||||
|
@ -460,7 +460,7 @@ var editors = {
|
|||
"Ctrl-\\": "autocompleteAnyWord",
|
||||
".": "autocompleteAfterDot",
|
||||
"Ctrl-I": "exprInfo",
|
||||
"Ctrl-G": "gotoLine",
|
||||
"Ctrl-L": "gotoLine",
|
||||
"Ctrl-E": "deleteLine",
|
||||
"Ctrl-D": "doNothing", // 取消默认的 deleteLine
|
||||
"Ctrl-B": "jumpToDecl",
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<link rel="stylesheet" href="{{.conf.StaticServer}}/static/js/lib/codemirror-4.5/addon/hint/show-hint.css">
|
||||
<link rel="stylesheet" href="{{.conf.StaticServer}}/static/js/lib/codemirror-4.5/addon/lint/lint.css">
|
||||
<link rel="stylesheet" href="{{.conf.StaticServer}}/static/js/lib/codemirror-4.5/addon/fold/foldgutter.css">
|
||||
<link rel="stylesheet" href="{{.conf.StaticServer}}/static/js/lib/codemirror-4.5/addon/dialog/dialog.css">
|
||||
<link rel="stylesheet" href="{{.conf.StaticServer}}/static/js/lib/codemirror-4.5/theme/wide.css">
|
||||
|
||||
<link rel="stylesheet" href="{{.conf.StaticServer}}/static/js/lib/ztree/zTreeStyle.css">
|
||||
|
@ -222,7 +223,7 @@
|
|||
"confirm": "{{.i18n.confirm}}",
|
||||
"build_n_run": "{{.i18n.build_n_run}}",
|
||||
"stop": "{{.i18n.stop}}",
|
||||
"usages": "{{.i18n.usages}}",
|
||||
"find_usages": "{{.i18n.find_usages}}",
|
||||
"search_text": "{{.i18n.search_text}}",
|
||||
"search": "{{.i18n.search}}",
|
||||
"start_page": "{{.i18n.start_page}}",
|
||||
|
@ -261,10 +262,9 @@
|
|||
<script type="text/javascript" src="{{.conf.StaticServer}}/static/js/lib/codemirror-4.5/addon/edit/closebrackets.js"></script>
|
||||
<script type="text/javascript" src="{{.conf.StaticServer}}/static/js/lib/codemirror-4.5/addon/edit/matchbrackets.js"></script>
|
||||
<script type="text/javascript" src="{{.conf.StaticServer}}/static/js/lib/codemirror-4.5/addon/edit/closetag.js"></script>
|
||||
<!--
|
||||
<script type="text/javascript" src="{{.conf.StaticServer}}/static/js/lib/codemirror-4.5/addon/search/searchcursor.js"></script>
|
||||
<script type="text/javascript" src="{{.conf.StaticServer}}/static/js/lib/codemirror-4.5/addon/search/search.js"></script>
|
||||
-->
|
||||
<script type="text/javascript" src="{{.conf.StaticServer}}/static/js/lib/codemirror-4.5/addon/dialog/dialog.js"></script>
|
||||
<script type="text/javascript" src="{{.conf.StaticServer}}/static/js/lib/codemirror-4.5/addon/search/match-highlighter.js"></script>
|
||||
<script type="text/javascript" src="{{.conf.StaticServer}}/static/js/lib/codemirror-4.5/addon/fold/foldcode.js"></script>
|
||||
<script type="text/javascript" src="{{.conf.StaticServer}}/static/js/lib/codemirror-4.5/addon/fold/foldgutter.js"></script>
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<li>Ctrl-I{{.i18n.colon}}{{.i18n.show_expr_info}}</li>
|
||||
<li>Alt-F7{{.i18n.colon}}{{.i18n.find_usages}}</li>
|
||||
<li>Alt-Shift-F{{.i18n.colon}}{{.i18n.format}}</li>
|
||||
<li>Ctrl-G{{.i18n.colon}}{{.i18n.goto_line}}</li>
|
||||
<li>Ctrl-L{{.i18n.colon}}{{.i18n.goto_line}}</li>
|
||||
<li>Ctrl-E{{.i18n.colon}}{{.i18n.delete_line}}</li>
|
||||
<li>Ctrl-S{{.i18n.colon}}{{.i18n.save_editor_file}}</li>
|
||||
<li>Shift-Ctrl-S{{.i18n.colon}}{{.i18n.save_all_editors_files}}</li>
|
||||
|
@ -23,6 +23,14 @@
|
|||
<li>Ctrl-]{{.i18n.colon}}{{.i18n.indent}}</li>
|
||||
<li>Ctrl-[{{.i18n.colon}}{{.i18n.unindent}}</li>
|
||||
</ul>
|
||||
<h2>{{.i18n.search}}</h2>
|
||||
<ul>
|
||||
<li>Ctrl-F{{.i18n.colon}}{{.i18n.search}}/{{.i18n.find}}</li>
|
||||
<li>Ctrl-G{{.i18n.colon}}{{.i18n.find_next}}</li>
|
||||
<li>Shift-Ctrl-G{{.i18n.colon}}{{.i18n.find_previous}}</li>
|
||||
<li>Shift-Ctrl-F{{.i18n.colon}}{{.i18n.replace}}</li>
|
||||
<li>Shift-Ctrl-R{{.i18n.colon}}{{.i18n.replace_all}}</li>
|
||||
</ul>
|
||||
<h2>{{.i18n.focus}}</h2>
|
||||
<ul>
|
||||
<li>Ctrl-D{{.i18n.colon}}{{.i18n.switch_tab}}</li>
|
||||
|
|
Loading…
Reference in New Issue