InputState // Let PrefModule manage the kMaxMarkRangeLength.

This commit is contained in:
ShikiSuen 2022-02-10 19:08:07 +08:00
parent f32d1b82e4
commit b3e861323d
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ class InputState: NSObject {
// MARK: -
private let kMinMarkRangeLength = 2
private let kMaxMarkRangeLength = 6
private let kMaxMarkRangeLength = Preferences.maxCandidateLength
/// Represents that the user is marking a range in the composing buffer.
@objc (InputStateMarking)