Some small corrections
Added example expression (hardcoded for development) Added example change for expressions (hardcoded for development)
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@class MPExpressionLayout, MPFunctionLayout, MPExpressionStorage, MPExpression;
|
||||
@class MPExpressionLayout, MPFunctionLayout, MPExpressionStorage, MPExpressionView, MPExpression;
|
||||
|
||||
@interface MPExpressionLayout : NSObject {
|
||||
BOOL _valid;
|
||||
@@ -30,6 +30,8 @@
|
||||
@property (readonly, nonatomic, weak) MPExpressionStorage *expressionStorage;
|
||||
@property (readonly, nonatomic, strong) NSIndexPath *expressionPath;
|
||||
|
||||
@property (nonatomic, weak) MPExpressionView *expressionView;
|
||||
|
||||
- (MPExpression *)expression; // Convenience
|
||||
- (NSLayoutManager *)layoutManager;
|
||||
- (NSTextContainer *)textContainer;
|
||||
@@ -38,7 +40,7 @@
|
||||
#pragma mark Cache Methods
|
||||
|
||||
- (void)invalidate;
|
||||
- (void)expressionEditedInRange:(NSRange)range
|
||||
- (void)editedExpressionInRange:(NSRange)range
|
||||
replacementLength:(NSUInteger)length;
|
||||
|
||||
- (BOOL)hasCacheForSymbolAtIndex:(NSUInteger)index;
|
||||
|
||||
Reference in New Issue
Block a user