Started to Implement Evaluation
Corrected Some Errors Cleaned Code
This commit is contained in:
@@ -82,7 +82,7 @@
|
||||
}
|
||||
|
||||
#pragma mark Evaluating Functions
|
||||
- (double)doubleValue
|
||||
- (double)evaluateFunction:(NSError *__autoreleasing *)error
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
@@ -92,8 +92,7 @@
|
||||
replacementLength:(NSUInteger)replacementLength
|
||||
{
|
||||
NSUInteger selfIndex = [self.parent indexOfElement:self];
|
||||
MPRangePath *newPath = rangePath.copy;
|
||||
newPath.location = [newPath.location indexPathByPreceedingIndex:selfIndex];
|
||||
MPRangePath *newPath = MPMakeRangePath([rangePath.location indexPathByPreceedingIndex:selfIndex], rangePath.length);
|
||||
[self.parent didChangeElementsInRangePath:newPath
|
||||
replacementLength:replacementLength];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user