Skip to content

Commit 29eb4e8

Browse files
committed
修正MD文档中多描述
1 parent d8f4a1e commit 29eb4e8

2 files changed

Lines changed: 64 additions & 19 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
## 修复
44

55
1. 修复某些情况下关闭标签页导致标签错误复制的问题
6+
2. 修复CSS样式不统一导致某些情况下渲染异常的问题
67

78
# 2.6.4
89

910
## 修复
1011

11-
1. 修复带注释补全的换行符问题,修正为真正的换行而非字面量 `\n`
12+
1. 修复带注释补全的换行符问题
1213
2. 带注释补全与随机分配变量现在可兼容同时启用,注释在前,随机变量在后
1314
3. 修复编辑器选中区域高亮颜色与当前行高亮混淆的问题,选中区域现为半透明蓝色
1415

@@ -22,24 +23,21 @@
2223

2324
1. 插件管理面板支持启用/禁用开关,可控制启动时是否自动加载
2425
2. 插件管理面板新增重命名功能
25-
3. 编辑器选中行背景色自定义`--eext-editor-line-bg`,同步影响选中文本和当前行高亮
26+
3. 编辑器选中行背景色自定义,同步影响选中文本和当前行高亮
2627
4. 设置-快捷键页改为可交互表单,点击输入框直接按下组合键即可修改,支持保存/恢复默认
2728

2829
## 更改
2930

3031
1. 文件右键菜单「保存到启动项」更名为「保存为插件」,同名插件保存时询问是否覆盖
3132
2. 移除设置面板中重复的 AI 配置页(Copilot 面板已有独立入口)
3233
3. 插件管理从简单列表升级为完整面板:每项含开关、重命名、加载、删除按钮
33-
4. 颜色选择器读取逻辑重写为 `_readCSSColor()`,支持 `#rgb`/`#rrggbb`/`rgb()`/`rgba()` 格式,容错回退
34-
5. 二级菜单字号从 14px 统一为 12px(EDA 设计规范)
34+
4. 颜色选择器读取逻辑重写,支持 `#rgb`/`#rrggbb`/`rgb()`/`rgba()` 格式,容错回退
35+
5. 二级菜单字号从 14px 统一为 12px
3536

3637
## 修复
3738

38-
1. 修复 UUID 数字开头导致 CSS 选择器 `#7ca98ae...` 非法报错,改为字母开头
39-
2. 修复 `ThemeEngine.getCurrentVars().then is not a function` 颜色修改报错
40-
3. 修复 `ExtStore_GetExtList` 未返回 `enabled` 字段导致插件开关状态不持久化
41-
4. 修复 `ExtStore_SavePlugin` 中字符串转义丢失导致语法错误
42-
5. 修复 `insertMatch` 对象字面量未闭合导致 `Unexpected identifier 'editor'` 语法错误
39+
1. 修复 颜色修改报错
40+
2. 修复 插件开关状态不持久化的问题
4341

4442
## 优化
4543

iframe/main/index.html

Lines changed: 57 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,48 @@
22
<html lang="zh-CN">
33
<head>
44
<meta charset="UTF-8" />
5-
<title>Ace Editor - EDA V2.6.4</title>
5+
<title>Ace Editor - EDA V2.6.5</title>
66
<link rel="stylesheet" href="/iframe/style/theme-vars.css" />
77
<link rel="stylesheet" href="/iframe/style/theme-base.css" />
88
<link rel="stylesheet" href="/iframe/style/file-tree.css" />
99
<link rel="stylesheet" href="/iframe/style/left-nav.css" />
1010
<link rel="stylesheet" href="/iframe/script/SweetAlert2/sweetalert2.min.css" />
1111
</head>
1212
<body>
13-
<div id="loading-overlay" style="position:fixed;top:0;left:0;width:100%;height:100%;background:var(--eext-bg-body);z-index:99999;display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:var(--eext-font-family);color:var(--eext-text-primary);"><div style="font-size:14px;margin-bottom:12px;">正在加载编辑器...</div><div style="width:120px;height:3px;background:var(--eext-border);border-radius:2px;overflow:hidden;"><div id="loading-bar" style="height:100%;width:0;background:var(--eext-brand);border-radius:2px;transition:width 0.3s ease;"></div></div></div>
13+
<div
14+
id="loading-overlay"
15+
style="
16+
position: fixed;
17+
top: 0;
18+
left: 0;
19+
width: 100%;
20+
height: 100%;
21+
background: var(--eext-bg-body);
22+
z-index: 99999;
23+
display: flex;
24+
flex-direction: column;
25+
justify-content: center;
26+
align-items: center;
27+
font-family: var(--eext-font-family);
28+
color: var(--eext-text-primary);
29+
"
30+
>
31+
<div style="font-size: 14px; margin-bottom: 12px">正在加载编辑器...</div>
32+
<div style="width: 120px; height: 3px; background: var(--eext-border); border-radius: 2px; overflow: hidden">
33+
<div
34+
id="loading-bar"
35+
style="height: 100%; width: 0; background: var(--eext-brand); border-radius: 2px; transition: width 0.3s ease"
36+
></div>
37+
</div>
38+
</div>
1439
<div id="app">
1540
<!-- 顶部工具栏 -->
1641
<div id="toolbar">
1742
<button id="run-btn">运行</button>
1843
<button id="file-btn">文件</button>
1944
<button id="settings-btn">设置</button>
2045
<ul id="quick-btn-list"></ul>
21-
<button id="ai-btn" style="margin-left:auto;">Copilot</button>
46+
<button id="ai-btn" style="margin-left: auto">Copilot</button>
2247
</div>
2348
<!-- 标签栏 -->
2449
<div id="tab-bar"></div>
@@ -33,17 +58,17 @@
3358
<!-- 左侧内容区域 -->
3459
<div id="left-content-area">
3560
<!-- 项目列表视图 -->
36-
<div id="project-list-view" style="display: flex;">
61+
<div id="project-list-view" style="display: flex">
3762
<div class="project-list-header">
3863
<input type="text" class="project-search-box" id="project-search-input" placeholder="搜索项目..." />
3964
<button class="import-project-btn" id="import-project-btn" title="导入项目">导入</button>
4065
</div>
4166
<div class="project-list-content" id="project-list-content"></div>
4267
</div>
4368
<!-- 文件树视图 -->
44-
<div id="file-tree" style="display: none;"></div>
69+
<div id="file-tree" style="display: none"></div>
4570
<!-- 补全仓库视图 -->
46-
<div id="completer-store-view" style="display: none;">
71+
<div id="completer-store-view" style="display: none">
4772
<div class="completer-list-header">
4873
<div class="completer-header-title">常用代码</div>
4974
<input type="text" class="completer-search-box" id="completer-search-input" placeholder="搜索代码..." />
@@ -64,14 +89,36 @@
6489
<div class="ai-chat-header">
6590
<span class="ai-chat-title" id="ai-model-name">GPT-4 Model</span>
6691
<button class="ai-chat-new-conversation-btn" id="ai-new-conversation-btn" title="新建对话">
67-
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
92+
<svg
93+
xmlns="http://www.w3.org/2000/svg"
94+
width="18"
95+
height="18"
96+
viewBox="0 0 24 24"
97+
fill="none"
98+
stroke="currentColor"
99+
stroke-width="2"
100+
stroke-linecap="round"
101+
stroke-linejoin="round"
102+
>
68103
<path d="M12 5v14M5 12h14"></path>
69104
</svg>
70105
</button>
71106
<button class="ai-chat-settings-btn" id="ai-settings-trigger" title="聊天设置">
72-
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
107+
<svg
108+
xmlns="http://www.w3.org/2000/svg"
109+
width="18"
110+
height="18"
111+
viewBox="0 0 24 24"
112+
fill="none"
113+
stroke="currentColor"
114+
stroke-width="2"
115+
stroke-linecap="round"
116+
stroke-linejoin="round"
117+
>
73118
<circle cx="12" cy="12" r="3"></circle>
74-
<path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"></path>
119+
<path
120+
d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"
121+
></path>
75122
</svg>
76123
</button>
77124
</div>
@@ -143,4 +190,4 @@
143190
<script src="/iframe/script/User_config/Code_Config.js"></script>
144191
<script src="/iframe/script/User_config/App_Init.js"></script>
145192
</body>
146-
</html>
193+
</html>

0 commit comments

Comments
 (0)