mgrPref // Cleanup, sacrificing advanced keyLayout feature.
This commit is contained in:
parent
9bc0f485e8
commit
c3f4a0dac6
|
@ -23,8 +23,6 @@ private let kIsDebugModeEnabled = "_DebugMode"
|
||||||
private let kCheckUpdateAutomatically = "CheckUpdateAutomatically"
|
private let kCheckUpdateAutomatically = "CheckUpdateAutomatically"
|
||||||
private let kKeyboardLayoutPreference = "KeyboardLayout"
|
private let kKeyboardLayoutPreference = "KeyboardLayout"
|
||||||
private let kBasisKeyboardLayoutPreference = "BasisKeyboardLayout"
|
private let kBasisKeyboardLayoutPreference = "BasisKeyboardLayout"
|
||||||
private let kFunctionKeyKeyboardLayoutPreference = "FunctionKeyKeyboardLayout"
|
|
||||||
private let kFunctionKeyKeyboardLayoutOverrideIncludeShift = "FunctionKeyKeyboardLayoutOverrideIncludeShift"
|
|
||||||
private let kShowPageButtonsInCandidateWindow = "ShowPageButtonsInCandidateWindow"
|
private let kShowPageButtonsInCandidateWindow = "ShowPageButtonsInCandidateWindow"
|
||||||
private let kCandidateListTextSize = "CandidateListTextSize"
|
private let kCandidateListTextSize = "CandidateListTextSize"
|
||||||
private let kAppleLanguagesPreferences = "AppleLanguages"
|
private let kAppleLanguagesPreferences = "AppleLanguages"
|
||||||
|
@ -217,8 +215,6 @@ struct ComposingBufferSize {
|
||||||
[kIsDebugModeEnabled,
|
[kIsDebugModeEnabled,
|
||||||
kKeyboardLayoutPreference,
|
kKeyboardLayoutPreference,
|
||||||
kBasisKeyboardLayoutPreference,
|
kBasisKeyboardLayoutPreference,
|
||||||
kFunctionKeyKeyboardLayoutPreference,
|
|
||||||
kFunctionKeyKeyboardLayoutOverrideIncludeShift,
|
|
||||||
kShowPageButtonsInCandidateWindow,
|
kShowPageButtonsInCandidateWindow,
|
||||||
kCandidateListTextSize,
|
kCandidateListTextSize,
|
||||||
kAppleLanguagesPreferences,
|
kAppleLanguagesPreferences,
|
||||||
|
@ -365,12 +361,6 @@ struct ComposingBufferSize {
|
||||||
@UserDefault(key: kBasisKeyboardLayoutPreference, defaultValue: "com.apple.keylayout.ZhuyinBopomofo")
|
@UserDefault(key: kBasisKeyboardLayoutPreference, defaultValue: "com.apple.keylayout.ZhuyinBopomofo")
|
||||||
@objc static var basisKeyboardLayout: String
|
@objc static var basisKeyboardLayout: String
|
||||||
|
|
||||||
@UserDefault(key: kFunctionKeyKeyboardLayoutPreference, defaultValue: "com.apple.keylayout.ABC")
|
|
||||||
@objc static var functionKeyboardLayout: String
|
|
||||||
|
|
||||||
@UserDefault(key: kFunctionKeyKeyboardLayoutOverrideIncludeShift, defaultValue: false)
|
|
||||||
@objc static var functionKeyKeyboardLayoutOverrideIncludeShiftKey: Bool
|
|
||||||
|
|
||||||
@UserDefault(key: kShowPageButtonsInCandidateWindow, defaultValue: true)
|
@UserDefault(key: kShowPageButtonsInCandidateWindow, defaultValue: true)
|
||||||
@objc static var showPageButtonsInCandidateWindow: Bool
|
@objc static var showPageButtonsInCandidateWindow: Bool
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue