Repo // Change #Override tag.
This commit is contained in:
parent
1b86b1b609
commit
2c684a925c
|
@ -142,7 +142,7 @@ public struct VwrPhraseEditorUI: View {
|
||||||
userPhrase: txtAddPhraseField1, mode: selInputMode, key: txtAddPhraseField2
|
userPhrase: txtAddPhraseField1, mode: selInputMode, key: txtAddPhraseField2
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
arrResult.append("\t#𝙾𝚟𝚎𝚛𝚛𝚒𝚍𝚎")
|
arrResult.append(" #𝙾𝚟𝚎𝚛𝚛𝚒𝚍𝚎")
|
||||||
}
|
}
|
||||||
if let lastChar = txtContent.last, !"\n".contains(lastChar) {
|
if let lastChar = txtContent.last, !"\n".contains(lastChar) {
|
||||||
arrResult.insert("\n", at: 0)
|
arrResult.insert("\n", at: 0)
|
||||||
|
|
|
@ -577,7 +577,7 @@ public class LMMgr {
|
||||||
// Do not use ASCII characters to comment here.
|
// Do not use ASCII characters to comment here.
|
||||||
// Otherwise, it will be scrambled by cnvHYPYtoBPMF
|
// Otherwise, it will be scrambled by cnvHYPYtoBPMF
|
||||||
// module shipped in the vChewing Phrase Editor.
|
// module shipped in the vChewing Phrase Editor.
|
||||||
currentMarkedPhrase += "\t#𝙾𝚟𝚎𝚛𝚛𝚒𝚍𝚎"
|
currentMarkedPhrase += " #𝙾𝚟𝚎𝚛𝚛𝚒𝚍𝚎"
|
||||||
}
|
}
|
||||||
|
|
||||||
if let writeFile = FileHandle(forUpdatingAtPath: theURL.path),
|
if let writeFile = FileHandle(forUpdatingAtPath: theURL.path),
|
||||||
|
|
|
@ -214,7 +214,7 @@ extension CtlPrefWindow: NSTextViewDelegate, NSTextFieldDelegate {
|
||||||
if LMMgr.checkIfUserPhraseExist(
|
if LMMgr.checkIfUserPhraseExist(
|
||||||
userPhrase: txtPEField1.stringValue, mode: selInputMode, key: txtPEField2.stringValue
|
userPhrase: txtPEField1.stringValue, mode: selInputMode, key: txtPEField2.stringValue
|
||||||
) {
|
) {
|
||||||
arrResult.append("\t#𝙾𝚟𝚎𝚛𝚛𝚒𝚍𝚎")
|
arrResult.append(" #𝙾𝚟𝚎𝚛𝚛𝚒𝚍𝚎")
|
||||||
}
|
}
|
||||||
if let lastChar = tfdPETextEditor.string.last, !"\n".contains(lastChar) {
|
if let lastChar = tfdPETextEditor.string.last, !"\n".contains(lastChar) {
|
||||||
arrResult.insert("\n", at: 0)
|
arrResult.insert("\n", at: 0)
|
||||||
|
|
Loading…
Reference in New Issue