Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
antSword
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
HuangJunbo
antSword
Commits
3502e655
Commit
3502e655
authored
Mar 04, 2019
by
Medicean
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2.0.x' into v2.1.x
parents
eec4a82d
109e57de
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
CHANGELOG.md
CHANGELOG.md
+5
-0
index.js
source/modules/filemanager/index.js
+5
-1
No files found.
CHANGELOG.md
View file @
3502e655
...
@@ -17,6 +17,11 @@
...
@@ -17,6 +17,11 @@


### 文件管理
*
编辑文件标签打开时显示正在编辑的文件的「IP地址」和「绝对路径」 (#129)
*
编辑文件「保存」按钮移动到右侧
### 插件市场
### 插件市场
*
支持使用代理访问插件市场,当配置了代理之后,默认开启
*
支持使用代理访问插件市场,当配置了代理之后,默认开启
...
...
source/modules/filemanager/index.js
View file @
3502e655
...
@@ -809,6 +809,7 @@ class FileManager {
...
@@ -809,6 +809,7 @@ class FileManager {
let editor = null;
let editor = null;
let codes = '';
let codes = '';
let win;
let win;
let hinttext = '';
if (openfileintab == false){
if (openfileintab == false){
win = this.createWin({
win = this.createWin({
title: LANG['
editor
']['
title
'](path),
title: LANG['
editor
']['
title
'](path),
...
@@ -823,6 +824,7 @@ class FileManager {
...
@@ -823,6 +824,7 @@ class FileManager {
null, null, true, true
null, null, true, true
);
);
win = antSword['
tabbar
'].cells(`tab_file_${_id}`);
win = antSword['
tabbar
'].cells(`tab_file_${_id}`);
hinttext = `IP:${this.opts['
ip
']} File:${path}`;
}
}
win.progressOn();
win.progressOn();
...
@@ -854,9 +856,11 @@ class FileManager {
...
@@ -854,9 +856,11 @@ class FileManager {
_options.push(_opt);
_options.push(_opt);
}
}
toolbar.loadStruct([
toolbar.loadStruct([
{ id: '
save
', type: '
button
', icon: '
save
', text: LANG['
editor
']['
toolbar
']['
save
']
},
{ id: '
hinttext
', type: '
text
', text: hinttext
},
{ type: '
separator
' },
{ type: '
separator
' },
{ type: '
spacer
' },
{ type: '
spacer
' },
{ id: '
save
', type: '
button
', icon: '
save
', text: LANG['
editor
']['
toolbar
']['
save
'] },
{ type: '
separator
' },
{
{
id: '
encode
', type: '
buttonSelect
', icon: '
language
', openAll: true,
id: '
encode
', type: '
buttonSelect
', icon: '
language
', openAll: true,
text: LANG['
editor
']['
toolbar
']['
encode
'],
text: LANG['
editor
']['
toolbar
']['
encode
'],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment