Prefs // +enableMouseScrollingForTDKCandidatesCocoa.
This commit is contained in:
parent
be8f7b5a22
commit
1bbc17d21f
|
@ -47,6 +47,7 @@ public protocol PrefMgrProtocol {
|
|||
var onlyLoadFactoryLangModelsIfNeeded: Bool { get set }
|
||||
var useIMKCandidateWindow: Bool { get set }
|
||||
var enableSwiftUIForTDKCandidates: Bool { get set }
|
||||
var enableMouseScrollingForTDKCandidatesCocoa: Bool { get set }
|
||||
var disableSegmentedThickUnderlineInMarkingModeForManagedClients: Bool { get set }
|
||||
var maxCandidateLength: Int { get set }
|
||||
var shouldNotFartInLieuOfBeep: Bool { get set }
|
||||
|
|
|
@ -75,6 +75,7 @@ public enum UserDef: String, CaseIterable {
|
|||
|
||||
case kUseIMKCandidateWindow = "UseIMKCandidateWindow"
|
||||
case kEnableSwiftUIForTDKCandidates = "EnableSwiftUIForTDKCandidates"
|
||||
case kEnableMouseScrollingForTDKCandidatesCocoa = "EnableMouseScrollingForTDKCandidatesCocoa"
|
||||
case kDisableSegmentedThickUnderlineInMarkingModeForManagedClients
|
||||
= "DisableSegmentedThickUnderlineInMarkingModeForManagedClients"
|
||||
|
||||
|
|
|
@ -188,6 +188,9 @@ public class PrefMgr: PrefMgrProtocol {
|
|||
@AppProperty(key: UserDef.kEnableSwiftUIForTDKCandidates.rawValue, defaultValue: false)
|
||||
public var enableSwiftUIForTDKCandidates: Bool
|
||||
|
||||
@AppProperty(key: UserDef.kEnableMouseScrollingForTDKCandidatesCocoa.rawValue, defaultValue: false)
|
||||
public var enableMouseScrollingForTDKCandidatesCocoa: Bool
|
||||
|
||||
@AppProperty(
|
||||
key: UserDef.kDisableSegmentedThickUnderlineInMarkingModeForManagedClients.rawValue,
|
||||
defaultValue: false
|
||||
|
|
Loading…
Reference in New Issue