Skip to content
Snippets Groups Projects
Commit dfc1aaa7 authored by George Nachman's avatar George Nachman
Browse files

Add a proper description method to iTermCheapAttributedString

parent 6ab7d445
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -18,6 +18,13 @@
 
@implementation iTermCheapAttributedString
 
- (NSString *)description {
return [NSString stringWithFormat:@"<%@: %p %@>",
NSStringFromClass([self class]),
self,
[[[NSString alloc] initWithCharacters:[self characters] length:[self length]] autorelease]];
}
- (void)dealloc {
[_attributes release];
[_characterData release];
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment