s/richTextNode/textNode/g.

ASTextNode's delegate methods are all prefixed with "richTextNode".
Rename these to "textNode" for consistency.
This commit is contained in:
Nadine Salter
2014-10-01 15:54:03 -07:00
parent a82364a54b
commit 17fcca19ce
3 changed files with 28 additions and 28 deletions

View File

@@ -24,13 +24,13 @@
@implementation ASTextNodeTestDelegate
- (void)richTextNode:(ASTextNode *)richTextNode tappedLinkAttribute:(NSString *)attribute value:(id)value atPoint:(CGPoint)point textRange:(NSRange)textRange
- (void)textNode:(ASTextNode *)textNode tappedLinkAttribute:(NSString *)attribute value:(id)value atPoint:(CGPoint)point textRange:(NSRange)textRange
{
_tappedLinkAttribute = attribute;
_tappedLinkValue = value;
}
- (BOOL)richTextNode:(ASTextNode *)richTextNode shouldHighlightLinkAttribute:(NSString *)attribute value:(id)value
- (BOOL)textNode:(ASTextNode *)textNode shouldHighlightLinkAttribute:(NSString *)attribute value:(id)value
{
return YES;
}