Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5)

Unified Diff: Mac/PythonLauncher/MyDocument.m

Issue 15550: Trailing white spaces
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Mac/PythonLauncher/MyAppDelegate.m ('k') | Mac/PythonLauncher/PreferencesWindowController.m » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Mac/PythonLauncher/MyDocument.m Sat Aug 04 16:17:10 2012 +0200
+++ b/Mac/PythonLauncher/MyDocument.m Sat Aug 04 22:46:03 2012 +0300
@@ -16,7 +16,7 @@
{
self = [super init];
if (self) {
-
+
// Add your subclass-specific initialization here.
// If an error occurs here, send a [self dealloc] message and return nil.
script = [@"<no script>.py" retain];
@@ -50,7 +50,7 @@
- (void)update_display
{
// [[self window] setTitle: script];
-
+
[interpreter setStringValue: [settings interpreter]];
[honourhashbang setState: [settings honourhashbang]];
[debug setState: [settings debug]];
@@ -62,7 +62,7 @@
[others setStringValue: [settings others]];
[scriptargs setStringValue: [settings scriptargs]];
[with_terminal setState: [settings with_terminal]];
-
+
[commandline setStringValue: [settings commandLineForScript: script]];
}
@@ -75,7 +75,7 @@
{
const char *cmdline;
int sts;
-
+
cmdline = [[settings commandLineForScript: script] cString];
if ([settings with_terminal]) {
sts = doscript(cmdline);
@@ -107,8 +107,8 @@
{
// Insert code here to read your document from the given data. You can also choose to override -loadFileWrapperRepresentation:ofType: or -readFromFile:ofType: instead.
BOOL show_ui;
-
- // ask the app delegate whether we should show the UI or not.
+
+ // ask the app delegate whether we should show the UI or not.
show_ui = [[[NSApplication sharedApplication] delegate] shouldShowUI];
[script release];
script = [fileName retain];
@@ -152,7 +152,7 @@
[self update_display];
}
-// FileSettingsSource protocol
+// FileSettingsSource protocol
- (NSString *) interpreter { return [interpreter stringValue];};
- (BOOL) honourhashbang { return [honourhashbang state];};
- (BOOL) debug { return [debug state];};
« no previous file with comments | « Mac/PythonLauncher/MyAppDelegate.m ('k') | Mac/PythonLauncher/PreferencesWindowController.m » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+