Files
ghostgram/submodules/TelegramUI/Components/RichTextEditor/Sources/RichTextInputDecUpstream/include/IDRichTextPosition.h
T
ichmagmaus111andClaude Opus 5.5 534cabe35b bug fixes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 16:55:08 +01:00

22 lines
539 B
Objective-C

#import <TargetConditionals.h>
#if TARGET_OS_IOS
#import <UIKit/UIKit.h>
#import "IDRichTextAnchor.h"
NS_ASSUME_NONNULL_BEGIN
@interface IDRichTextPosition : UITextPosition <NSCopying>
@property(nonatomic, strong, readonly) IDRichTextAnchor *anchor;
@property(nonatomic, readonly) UITextStorageDirection affinity;
@property(nonatomic, readonly) NSUInteger documentRevision;
- (instancetype)initWithAnchor:(IDRichTextAnchor *)anchor
affinity:(UITextStorageDirection)affinity;
@end
NS_ASSUME_NONNULL_END
#endif