KeyConv // charCode 8212 -> 45.
This commit is contained in:
parent
eb9ed3462f
commit
ddde93d95d
|
@ -175,6 +175,8 @@ import Cocoa
|
|||
if (charCode == 65290) {charCode = UniChar(42)}
|
||||
if (charCode == 65288) {charCode = UniChar(40)}
|
||||
if (charCode == 65289) {charCode = UniChar(41)}
|
||||
// 摁了 Alt 的符號。
|
||||
if (charCode == 8212) {charCode = UniChar(45)}
|
||||
// Apple 倚天注音佈局追加符號糾正項目。
|
||||
if mgrPrefs.basisKeyboardLayout == "com.apple.keylayout.ZhuyinEten" {
|
||||
if (charCode == 65343) {charCode = UniChar(95)}
|
||||
|
@ -311,6 +313,8 @@ import Cocoa
|
|||
if (strProcessed == "*") {strProcessed = "*"}
|
||||
if (strProcessed == "(") {strProcessed = "("}
|
||||
if (strProcessed == ")") {strProcessed = ")"}
|
||||
// 摁了 Alt 的符號。
|
||||
if (strProcessed == "—") {strProcessed = "-"}
|
||||
// Apple 倚天注音佈局追加符號糾正項目。
|
||||
if mgrPrefs.basisKeyboardLayout == "com.apple.keylayout.ZhuyinEten" {
|
||||
if (strProcessed == "_") {strProcessed = "_"}
|
||||
|
|
Loading…
Reference in New Issue