Author: mlytwyn
Date: Thu Dec 4 17:12:01 2014
New Revision: 38230
URL: http://svn.gna.org/viewcvs/gnustep?rev=38230&view=rev
Log:
Additional information in description method
Modified:
libs/gui/branches/gnustep_testplant_branch/Source/NSParagraphStyle.m
Modified: libs/gui/branches/gnustep_testplant_branch/Source/NSParagraphStyle.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/Source/NSParagraphStyle.m?rev=38230&r1=38229&r2=38230&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/NSParagraphStyle.m
(original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/NSParagraphStyle.m
Thu Dec 4 17:12:01 2014
@@ -304,6 +304,16 @@
initWithCapacity: 12];
}
return self;
+}
+
+- (NSString *)description
+{
+ NSMutableString *description = [[super description] mutableCopy];
+ [description appendFormat:@" Alignment %ld",_alignment];
+ [description appendFormat:@" LineSpacing: %f",_lineSpacing];
+ [description appendFormat:@" ParagraphSpacing: %f",_paragraphSpacing];
+ [description appendFormat:@" LineBreakMode: %ld",_lineBreakMode];
+ return([description copy]);
}
/*
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs