feat(typing): add English autocomplete and Chinese candidate expand panel
Offline English lexicon suggestions with autocapitalization, plus a same-height Chinese more-candidates grid over the key area.
This commit is contained in:
@@ -6,7 +6,11 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
@interface OSGRimeCandidate : NSObject
|
||||
@property(nonatomic, copy, readonly) NSString *text;
|
||||
@property(nonatomic, copy, readonly) NSString *comment;
|
||||
- (instancetype)initWithText:(NSString *)text comment:(NSString *)comment;
|
||||
/// Absolute librime candidate index for `select_candidate` (stable across UI reorder).
|
||||
@property(nonatomic, readonly) NSInteger index;
|
||||
- (instancetype)initWithText:(NSString *)text
|
||||
comment:(NSString *)comment
|
||||
index:(NSInteger)index;
|
||||
@end
|
||||
|
||||
/// Immutable runtime snapshot consumed by SwiftUI.
|
||||
|
||||
Reference in New Issue
Block a user