Prefs // Add acceptLeadingIntonations().
This commit is contained in:
parent
628e062e41
commit
7fb48357c4
|
@ -68,6 +68,7 @@ public protocol PrefMgrProtocol {
|
|||
var currencyNumeralsEnabled: Bool { get set }
|
||||
var halfWidthPunctuationEnabled: Bool { get set }
|
||||
var escToCleanInputBuffer: Bool { get set }
|
||||
var acceptLeadingIntonations: Bool { get set }
|
||||
var specifyIntonationKeyBehavior: Int { get set }
|
||||
var specifyShiftBackSpaceKeyBehavior: Int { get set }
|
||||
var specifyShiftTabKeyBehavior: Bool { get set }
|
||||
|
|
|
@ -41,6 +41,7 @@ public enum UserDef: String, CaseIterable {
|
|||
case kHalfWidthPunctuationEnabled = "HalfWidthPunctuationEnable"
|
||||
case kMoveCursorAfterSelectingCandidate = "MoveCursorAfterSelectingCandidate"
|
||||
case kEscToCleanInputBuffer = "EscToCleanInputBuffer"
|
||||
case kAcceptLeadingIntonations = "AcceptLeadingIntonations"
|
||||
case kSpecifyIntonationKeyBehavior = "SpecifyIntonationKeyBehavior"
|
||||
case kSpecifyShiftBackSpaceKeyBehavior = "SpecifyShiftBackSpaceKeyBehavior"
|
||||
case kSpecifyShiftTabKeyBehavior = "SpecifyShiftTabKeyBehavior"
|
||||
|
|
|
@ -273,6 +273,9 @@ public class PrefMgr: PrefMgrProtocol {
|
|||
@AppProperty(key: UserDef.kEscToCleanInputBuffer.rawValue, defaultValue: true)
|
||||
public var escToCleanInputBuffer: Bool
|
||||
|
||||
@AppProperty(key: UserDef.kAcceptLeadingIntonations.rawValue, defaultValue: true)
|
||||
public var acceptLeadingIntonations: Bool
|
||||
|
||||
@AppProperty(key: UserDef.kSpecifyIntonationKeyBehavior.rawValue, defaultValue: 0)
|
||||
public var specifyIntonationKeyBehavior: Int
|
||||
|
||||
|
|
Loading…
Reference in New Issue