Skip to content

Commit

Permalink
Correct outdated comments
Browse files Browse the repository at this point in the history
We were still mentioning "old-style" syntax coloring schemes, which had been removed ages ago.
  • Loading branch information
uliwitness committed Feb 5, 2012
1 parent 00b59a3 commit eb3354d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions UKSyntaxColoredTextViewController.m
Expand Up @@ -795,8 +795,6 @@ -(IBAction) recolorCompleteFile: (id)sender
The range passed in here is special, and may not include partial The range passed in here is special, and may not include partial
identifiers or the end of a comment. Make sure you include the entire identifiers or the end of a comment. Make sure you include the entire
multi-line comment etc. or it'll lose color. multi-line comment etc. or it'll lose color.
This calls oldRecolorRange to handle old-style syntax definitions.
-------------------------------------------------------------------------- */ -------------------------------------------------------------------------- */


-(void) recolorRange: (NSRange)range -(void) recolorRange: (NSRange)range
Expand Down Expand Up @@ -828,7 +826,7 @@ -(void) recolorRange: (NSRange)range
NSDictionary* vSyntaxDefinition = [self syntaxDefinitionDictionary]; NSDictionary* vSyntaxDefinition = [self syntaxDefinitionDictionary];
NSEnumerator* vComponentsEnny = [[vSyntaxDefinition objectForKey: @"Components"] objectEnumerator]; NSEnumerator* vComponentsEnny = [[vSyntaxDefinition objectForKey: @"Components"] objectEnumerator];


if( vComponentsEnny == nil ) // No new-style list of components to colorize? if( vComponentsEnny == nil ) // No list of components to colorize?
{ {
// @finally takes care of cleaning up syntaxColoringBusy etc. here. // @finally takes care of cleaning up syntaxColoringBusy etc. here.
return; return;
Expand Down

0 comments on commit eb3354d

Please sign in to comment.