Pref // var kMaxMarkRangeLength = 2x kDefaultComposingBufferSize.

- This is a workaround to the bug #45 since the effort of solving it is worthless comparing to rewrite all Cpp modules to swift.
This commit is contained in:
ShikiSuen 2022-02-11 23:53:15 +08:00
parent dbbb8b36e0
commit facdb293aa
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@ struct ComposingBufferSize {
return useSCPCTypingMode return useSCPCTypingMode
} }
@UserDefault(key: kMaxCandidateLength, defaultValue: 10) @UserDefault(key: kMaxCandidateLength, defaultValue: kDefaultComposingBufferSize * 2)
@objc static var maxCandidateLength: Int @objc static var maxCandidateLength: Int
@UserDefault(key: kShouldNotFartInLieuOfBeep, defaultValue: true) @UserDefault(key: kShouldNotFartInLieuOfBeep, defaultValue: true)