From 2c684a925c47c23f046477d5226cdc3cc33ad23c Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Thu, 8 Dec 2022 15:12:04 +0800 Subject: [PATCH] Repo // Change #Override tag. --- .../Sources/PhraseEditorUI/PhraseEditorUI.swift | 2 +- Source/Modules/LMMgr.swift | 2 +- .../Modules/WindowControllers/CtlPrefWindow_PhraseEditor.swift | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Packages/vChewing_PhraseEditorUI/Sources/PhraseEditorUI/PhraseEditorUI.swift b/Packages/vChewing_PhraseEditorUI/Sources/PhraseEditorUI/PhraseEditorUI.swift index a8d10e69..9e3df143 100644 --- a/Packages/vChewing_PhraseEditorUI/Sources/PhraseEditorUI/PhraseEditorUI.swift +++ b/Packages/vChewing_PhraseEditorUI/Sources/PhraseEditorUI/PhraseEditorUI.swift @@ -142,7 +142,7 @@ public struct VwrPhraseEditorUI: View { userPhrase: txtAddPhraseField1, mode: selInputMode, key: txtAddPhraseField2 ) { - arrResult.append("\t#π™ΎπšŸπšŽπš›πš›πš’πšπšŽ") + arrResult.append(" #π™ΎπšŸπšŽπš›πš›πš’πšπšŽ") } if let lastChar = txtContent.last, !"\n".contains(lastChar) { arrResult.insert("\n", at: 0) diff --git a/Source/Modules/LMMgr.swift b/Source/Modules/LMMgr.swift index 733edfb1..446ab9d7 100644 --- a/Source/Modules/LMMgr.swift +++ b/Source/Modules/LMMgr.swift @@ -577,7 +577,7 @@ public class LMMgr { // Do not use ASCII characters to comment here. // Otherwise, it will be scrambled by cnvHYPYtoBPMF // module shipped in the vChewing Phrase Editor. - currentMarkedPhrase += "\t#π™ΎπšŸπšŽπš›πš›πš’πšπšŽ" + currentMarkedPhrase += " #π™ΎπšŸπšŽπš›πš›πš’πšπšŽ" } if let writeFile = FileHandle(forUpdatingAtPath: theURL.path), diff --git a/Source/Modules/WindowControllers/CtlPrefWindow_PhraseEditor.swift b/Source/Modules/WindowControllers/CtlPrefWindow_PhraseEditor.swift index bd669d89..3349f09d 100644 --- a/Source/Modules/WindowControllers/CtlPrefWindow_PhraseEditor.swift +++ b/Source/Modules/WindowControllers/CtlPrefWindow_PhraseEditor.swift @@ -214,7 +214,7 @@ extension CtlPrefWindow: NSTextViewDelegate, NSTextFieldDelegate { if LMMgr.checkIfUserPhraseExist( userPhrase: txtPEField1.stringValue, mode: selInputMode, key: txtPEField2.stringValue ) { - arrResult.append("\t#π™ΎπšŸπšŽπš›πš›πš’πšπšŽ") + arrResult.append(" #π™ΎπšŸπšŽπš›πš›πš’πšπšŽ") } if let lastChar = tfdPETextEditor.string.last, !"\n".contains(lastChar) { arrResult.insert("\n", at: 0)