InputState // Let PrefModule manage the kMaxMarkRangeLength.

This commit is contained in:
ShikiSuen 2022-02-10 19:08:07 +08:00
parent d5032d9546
commit 8b5f612d78
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)