Prefs // +kPhraseEditorAutoReloadExternalModifications.
This commit is contained in:
parent
e163c63343
commit
5dbbb0fcfa
|
@ -54,6 +54,7 @@ public protocol PrefMgrProtocol {
|
|||
var showReverseLookupInCandidateUI: Bool { get set }
|
||||
var autoCompositeWithLongestPossibleCassetteKey: Bool { get set }
|
||||
var shareAlphanumericalModeStatusAcrossClients: Bool { get set }
|
||||
var phraseEditorAutoReloadExternalModifications: Bool { get set }
|
||||
var cns11643Enabled: Bool { get set }
|
||||
var cassetteEnabled: Bool { get set }
|
||||
var symbolInputEnabled: Bool { get set }
|
||||
|
|
|
@ -67,6 +67,7 @@ public enum UserDef: String, CaseIterable {
|
|||
case kShowReverseLookupInCandidateUI = "ShowReverseLookupInCandidateUI"
|
||||
case kAutoCompositeWithLongestPossibleCassetteKey = "AutoCompositeWithLongestPossibleCassetteKey"
|
||||
case kShareAlphanumericalModeStatusAcrossClients = "ShareAlphanumericalModeStatusAcrossClients"
|
||||
case kPhraseEditorAutoReloadExternalModifications = "PhraseEditorAutoReloadExternalModifications"
|
||||
|
||||
case kUseIMKCandidateWindow = "UseIMKCandidateWindow"
|
||||
case kHandleDefaultCandidateFontsByLangIdentifier = "HandleDefaultCandidateFontsByLangIdentifier"
|
||||
|
|
|
@ -155,6 +155,9 @@ public class PrefMgr: PrefMgrProtocol {
|
|||
@AppProperty(key: UserDef.kShareAlphanumericalModeStatusAcrossClients.rawValue, defaultValue: false)
|
||||
public var shareAlphanumericalModeStatusAcrossClients: Bool
|
||||
|
||||
@AppProperty(key: UserDef.kPhraseEditorAutoReloadExternalModifications.rawValue, defaultValue: true)
|
||||
public var phraseEditorAutoReloadExternalModifications: Bool
|
||||
|
||||
// MARK: - Settings (Tier 2)
|
||||
|
||||
@AppProperty(key: UserDef.kUseIMKCandidateWindow.rawValue, defaultValue: false)
|
||||
|
|
Loading…
Reference in New Issue