Commit 02e1e0cb by pangchong

refactor(editor): 统一中文短语的引号格式

- 将中文短语的引号由双引号改为单引号
- 确保对象属性键的引号使用一致
- 优化代码可读性与规范性
parent a16a05a6
...@@ -471,16 +471,16 @@ const xmlCompletionSource = (context: CompletionContext) => { ...@@ -471,16 +471,16 @@ const xmlCompletionSource = (context: CompletionContext) => {
} }
const chinesePhrases = EditorState.phrases.of({ const chinesePhrases = EditorState.phrases.of({
"Find": "查找", Find: '查找',
"Replace": "替换", Replace: '替换',
"next": "下一个", next: '下一个',
"previous": "上一个", previous: '上一个',
"all": "全部", all: '全部',
"match case": "区分大小写", 'match case': '区分大小写',
"regexp": "正则表达式", regexp: '正则表达式',
"by word": "全字匹配", 'by word': '全字匹配',
"replace": "替换", replace: '替换',
"replace all": "全部替换" 'replace all': '全部替换'
}) })
const updateSearchCount = (view: EditorView) => { const updateSearchCount = (view: EditorView) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment