Revision: 3762
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3762&view=rev
Author:   hofman
Date:     2008-04-18 13:50:27 -0700 (Fri, 18 Apr 2008)

Log Message:
-----------
Change string names and make some string constants local.

Modified Paths:
--------------
    trunk/SKLineInspector.h
    trunk/SKLineInspector.m

Modified: trunk/SKLineInspector.h
===================================================================
--- trunk/SKLineInspector.h     2008-04-18 20:01:20 UTC (rev 3761)
+++ trunk/SKLineInspector.h     2008-04-18 20:50:27 UTC (rev 3762)
@@ -46,12 +46,6 @@
 extern NSString *SKLineInspectorStartLineStyleDidChangeNotification;
 extern NSString *SKLineInspectorEndLineStyleDidChangeNotification;
 
-extern NSString *SKLineInspectorLineWidthKey;
-extern NSString *SKLineInspectorStyleKey;
-extern NSString *SKLineInspectorDashPatternKey;
-extern NSString *SKLineInspectorStartLineStyleKey;
-extern NSString *SKLineInspectorEndLineStyleKey;
-
 @class SKLineWell;
 
 @interface SKLineInspector : NSWindowController {

Modified: trunk/SKLineInspector.m
===================================================================
--- trunk/SKLineInspector.m     2008-04-18 20:01:20 UTC (rev 3761)
+++ trunk/SKLineInspector.m     2008-04-18 20:50:27 UTC (rev 3762)
@@ -47,11 +47,11 @@
 NSString *SKLineInspectorStartLineStyleDidChangeNotification = 
@"SKLineInspectorStartLineStyleDidChangeNotification";
 NSString *SKLineInspectorEndLineStyleDidChangeNotification = 
@"SKLineInspectorEndLineStyleDidChangeNotification";
 
-NSString *SKLineInspectorLineWidthKey = @"lineWidth";
-NSString *SKLineInspectorStyleKey = @"style";
-NSString *SKLineInspectorDashPatternKey = @"dashPattern";
-NSString *SKLineInspectorStartLineStyleKey = @"startLineStyle";
-NSString *SKLineInspectorEndLineStyleKey = @"endLineStyle";
+static NSString *SKLineInspectorLineWidthKey = @"lineWidth";
+static NSString *SKLineInspectorStyleKey = @"style";
+static NSString *SKLineInspectorDashPatternKey = @"dashPattern";
+static NSString *SKLineInspectorStartLineStyleKey = @"startLineStyle";
+static NSString *SKLineInspectorEndLineStyleKey = @"endLineStyle";
 
 static NSString *SKLineInspectorFrameAutosaveName = @"SKLineInspector";
 
@@ -105,11 +105,11 @@
     [self setWindowFrameAutosaveName:SKLineInspectorFrameAutosaveName];
     
     [lineWell setCanActivate:NO];
-    [lineWell bind:SKLineInspectorLineWidthKey toObject:self 
withKeyPath:SKLineInspectorLineWidthKey options:nil];
-    [lineWell bind:SKLineInspectorStyleKey toObject:self 
withKeyPath:SKLineInspectorStyleKey options:nil];
-    [lineWell bind:SKLineInspectorDashPatternKey toObject:self 
withKeyPath:SKLineInspectorDashPatternKey options:nil];
-    [lineWell bind:SKLineInspectorStartLineStyleKey toObject:self 
withKeyPath:SKLineInspectorStartLineStyleKey options:nil];
-    [lineWell bind:SKLineInspectorEndLineStyleKey toObject:self 
withKeyPath:SKLineInspectorEndLineStyleKey options:nil];
+    [lineWell bind:SKLineWellLineWidthKey toObject:self 
withKeyPath:SKLineInspectorLineWidthKey options:nil];
+    [lineWell bind:SKLineWellStyleKey toObject:self 
withKeyPath:SKLineInspectorStyleKey options:nil];
+    [lineWell bind:SKLineWellDashPatternKey toObject:self 
withKeyPath:SKLineInspectorDashPatternKey options:nil];
+    [lineWell bind:SKLineWellStartLineStyleKey toObject:self 
withKeyPath:SKLineInspectorStartLineStyleKey options:nil];
+    [lineWell bind:SKLineWellEndLineStyleKey toObject:self 
withKeyPath:SKLineInspectorEndLineStyleKey options:nil];
     
     SKNumberArrayFormatter *formatter = [[SKNumberArrayFormatter alloc] init];
     [dashPatternField setFormatter:formatter];


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to