Develop and Download Open Source Software

Browse CVS Repository

Diff of /undmail/guiproto/TextFormatter.m

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1 by footashida, Fri Feb 14 16:50:14 2003 UTC revision 1.2 by footashida, Sun Feb 16 09:05:53 2003 UTC
# Line 3  Line 3 
3    
4  @implementation TextFormatter  @implementation TextFormatter
5  -(NSDictionary *)attributedDictionary{  -(NSDictionary *)attributedDictionary{
6        
7    
8      NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:      NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:
9          _foregroundColor, NSForegroundColorAttributeName,          _foregroundColor, NSForegroundColorAttributeName,
10          _backgroundColor, NSBackgroundColorAttributeName,          _backgroundColor, NSBackgroundColorAttributeName,
# Line 55  Line 57 
57      NSRange patternRange;      NSRange patternRange;
58      NSRange stringRange;      NSRange stringRange;
59            
60    
61      ret = [[[NSMutableAttributedString alloc] init] autorelease];      ret = [[[NSMutableAttributedString alloc] init] autorelease];
62      [ret appendAttributedString:attributedString];      [ret appendAttributedString:attributedString];
63            

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26