From d1faaec6843be0d2e13fd0af8c19b4911d49d2f8 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 15 Jul 2023 14:55:16 -0400 Subject: [PATCH] Rename -[BSSourceView setSource:completionHandler:] to -setSourceFile:... --- Source/BSSourceView.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/BSSourceView.m b/Source/BSSourceView.m index d263060..915ff95 100644 --- a/Source/BSSourceView.m +++ b/Source/BSSourceView.m @@ -69,7 +69,7 @@ return; } - [self setSource:f completionHandler:nil]; + [self setSourceFile:f completionHandler:nil]; } /** @@ -88,7 +88,7 @@ return; } - [self setSource:tmpPath completionHandler:^{ + [self setSourceFile:tmpPath completionHandler:^{ [[NSFileManager defaultManager] removeItemAtPath:tmpPath error:NULL]; }]; } @@ -193,7 +193,7 @@ NSString* ColorHEXStringINIDirective(NSString* directive, NSColor* color) { * Reads the contents of |filePath| and sets it as the displayed text, after * attempting to highlight it using the PHP binary. */ -- (void)setSource:(NSString*)filePath completionHandler:(void(^)(void))handler +- (void)setSourceFile:(NSString*)filePath completionHandler:(void(^)(void))handler { @try { // Attempt to use the PHP CLI to highlight the source file as HTML -- 2.43.5