Browse files

Line number view width updated directly in all opened documents when …

…modified in general preferences
  • Loading branch information...
1 parent f119fa8 commit 1af6a18d110bd9ce59afcc8c1b0fa9b0a6cae424 @jfmoy committed Mar 23, 2010
View
2 Classes/FRAInterfacePerformer.h
@@ -70,4 +70,6 @@ Unless required by applicable law or agreed to in writing, software distributed
- (void)changeViewWithAnimationForWindow:(NSWindow *)window oldView:(NSView *)oldView newView:(NSView *)newView newRect:(NSRect)newRect;
+- (void) updateGutterViewForDocument:(id)document;
+
@end
View
62 Classes/FRAInterfacePerformer.m
@@ -138,7 +138,7 @@ - (void)insertDocumentIntoSecondContentView:(id)document
[textStorage addLayoutManager:layoutManager];
[[document valueForKey:@"syntaxColouring"] setSecondLayoutManager:layoutManager];
- NSInteger gutterWidth = [[document valueForKey:@"firstGutterScrollView"] bounds].size.width;
+ u_int16_t gutterWidth = [[document valueForKey:@"firstGutterScrollView"] bounds].size.width;
NSView *secondContentViewNavigationBar = [FRACurrentProject secondContentViewNavigationBar];
CGFloat secondContentViewNavigationBarHeight = [secondContentViewNavigationBar bounds].size.height;
@@ -237,7 +237,7 @@ - (void)insertDocumentIntoThirdContentView:(id)document orderFront:(BOOL)orderFr
[textStorage addLayoutManager:layoutManager];
[[document valueForKey:@"syntaxColouring"] setThirdLayoutManager:layoutManager];
- NSInteger gutterWidth = [[document valueForKey:@"firstGutterScrollView"] bounds].size.width;
+ u_int16_t gutterWidth = [[document valueForKey:@"firstGutterScrollView"] bounds].size.width;
NSScrollView *textScrollView = [[NSScrollView alloc] initWithFrame:NSMakeRect(gutterWidth, -1, [thirdContentView bounds].size.width - gutterWidth, [thirdContentView bounds].size.height + 2)]; // +2 and -1 to remove extra line at the top and bottom
NSSize contentSize = [textScrollView contentSize];
@@ -305,7 +305,7 @@ - (void)insertDocumentIntoFourthContentView:(id)document
[textStorage addLayoutManager:layoutManager];
[[document valueForKey:@"syntaxColouring"] setFourthLayoutManager:layoutManager];
- NSInteger gutterWidth = [[document valueForKey:@"firstGutterScrollView"] bounds].size.width;
+ u_int16_t gutterWidth = [[document valueForKey:@"firstGutterScrollView"] bounds].size.width;
NSView *fourthContentView = [[FRAAdvancedFindController sharedInstance] resultDocumentContentView];
@@ -361,8 +361,62 @@ - (void)insertDocumentIntoFourthContentView:(id)document
[document setValue:gutterScrollView forKey:@"fourthGutterScrollView"];
}
+/**
+ * Update gutter views to adjust its size to newly defined width for the specified
+ * document. It refreshes every views used to display the document afterwards.
+ **/
+- (void) updateGutterViewForDocument:(id)document {
+ NSArray *viewNumbers = [NSArray arrayWithObjects:@"first",@"second", @"third", nil];
+ NSView *contentView = nil;
+ u_int16_t gutterWidth = [[FRADefaults valueForKey:@"GutterWidth"] integerValue];
+ NSRect frame;
+
+ // Update document value first.
+ [document setValue:[NSNumber numberWithUnsignedInt:gutterWidth] forKey:@"gutterWidth"];
+
+ for (NSString* viewNumber in viewNumbers) {
+ NSScrollView *gutterScrollView = (NSScrollView *) [document valueForKey:[NSString stringWithFormat:@"%@GutterScrollView", viewNumber]];
+ NSTextView *textView = (NSTextView *)[document valueForKey:[NSString stringWithFormat:@"%@TextView", viewNumber]];
+ NSScrollView *textScrollView = (NSScrollView *)[document valueForKey:[NSString stringWithFormat:@"%@TextScrollView", viewNumber]];
+
+ if ([viewNumber isEqualToString:@"first"]) {
+ contentView = [FRACurrentProject firstContentView];
+ }
+ else if ([viewNumber isEqualToString:@"second"]) {
+ contentView = [FRACurrentProject secondContentView];
+ }
+ else if ([viewNumber isEqualToString:@"third"]) {
+ if ([document valueForKey:@"singleDocumentWindow"] == nil) {
+ continue;
+ }
+ contentView = [[document valueForKey:@"singleDocumentWindow"] contentView];
+ }
+
+ // Text Scroll View
+ if (textScrollView != nil) {
+ frame = [textScrollView frame];
+ [textScrollView setFrame:NSMakeRect(gutterWidth, frame.origin.y, [contentView bounds].size.width - gutterWidth, frame.size.height)];
+ [textScrollView setNeedsDisplay:YES];
+ }
+
+ // Text View
+ if (textView != nil) {
+ frame = [textView frame];
+ [textView setFrame:NSMakeRect(gutterWidth, frame.origin.y, [contentView bounds].size.width - gutterWidth, frame.size.height)];
+ [textView setNeedsDisplay:YES];
+ }
+
+ // Gutter Scroll View
+ if (gutterScrollView != nil) {
+ frame = [gutterScrollView frame];
+ [gutterScrollView setFrame:NSMakeRect(frame.origin.x, frame.origin.y, gutterWidth, frame.size.height)];
+ [gutterScrollView setNeedsDisplay:YES];
+ }
+ }
+}
+
-- (void)updateStatusBar
+- (void) updateStatusBar
{
if ([[FRADefaults valueForKey:@"ShowStatusBar"] boolValue] == NO) {
return;
View
2 Classes/FRAPreferencesController.h
@@ -62,7 +62,7 @@ Unless required by applicable law or agreed to in writing, software distributed
- (IBAction)openSetFolderAction:(id)sender;
- (IBAction)saveAsSetFolderAction:(id)sender;
-
+- (IBAction)changeGutterWidth:(id)sender;
- (NSManagedObjectContext *)managedObjectContext;
View
8 Classes/FRAPreferencesController.m
@@ -27,6 +27,7 @@
#import "FRAMainController.h"
#import "FRAApplicationDelegate.h"
#import "FRAProject.h"
+#import "FRALineNumbers.h"
#import "NSToolbarItem+Fraise.h"
@implementation FRAPreferencesController
@@ -599,6 +600,13 @@ - (void)saveAsPanelDidEnd:(NSOpenPanel *)sheet returnCode:(NSInteger)returnCode
}
}
+- (IBAction)changeGutterWidth:(id)sender {
+ NSEnumerator *documentEnumerator = [[[FRACurrentProject documentsArrayController] arrangedObjects] objectEnumerator];
+ for (id document in documentEnumerator) {
+ [FRAInterface updateGutterViewForDocument:document];
+ [[document valueForKey:@"lineNumbers"] updateLineNumbersCheckWidth:YES recolour:YES];
+ }
+}
- (NSManagedObjectContext *)managedObjectContext
{
View
66 English.lproj/FRAPreferencesGeneral.xib
@@ -852,10 +852,6 @@
<string key="NSExtension">NSResponder</string>
</object>
<object class="NSUserDefaultsController" id="478176690">
- <object class="NSMutableArray" key="NSDeclaredKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>automaticallyChecksForUpdates</string>
- </object>
<bool key="NSSharedInstance">YES</bool>
</object>
<object class="NSCustomObject" id="479498089">
@@ -1177,6 +1173,14 @@
</object>
<int key="connectionID">182</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">changeGutterWidth:</string>
+ <reference key="source" ref="1034643593"/>
+ <reference key="destination" ref="811493167"/>
+ </object>
+ <int key="connectionID">183</int>
+ </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@@ -1678,7 +1682,6 @@
<string>156.IBPluginDependency</string>
<string>157.IBPluginDependency</string>
<string>160.IBPluginDependency</string>
- <string>161.IBPluginDependency</string>
<string>162.IBPluginDependency</string>
<string>163.IBPluginDependency</string>
<string>171.IBPluginDependency</string>
@@ -1775,14 +1778,13 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>{{745, 671}, {121, 83}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{401, 387}, {600, 398}}</string>
+ <string>{{407, 43}, {600, 398}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -1855,41 +1857,19 @@
</object>
</object>
<nil key="sourceID"/>
- <int key="maxID">182</int>
+ <int key="maxID">183</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBPartialClassDescription">
- <string key="className">FirstResponder</string>
- <string key="superclassName">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBUserSource</string>
- <string key="minorKey"/>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">PSMTabBar/PSMTabBarControl.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBUserSource</string>
- <string key="minorKey"/>
- </object>
- </object>
- <object class="IBPartialClassDescription">
<string key="className">FRAPreferencesController</string>
<string key="superclassName">NSObject</string>
<object class="NSMutableDictionary" key="actions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
- <string>checkNowAction:</string>
+ <string>changeGutterWidth:</string>
<string>openSetFolderAction:</string>
<string>revertToStandardSettingsAction:</string>
<string>saveAsSetFolderAction:</string>
@@ -1915,7 +1895,6 @@
<string>encodingsTableView</string>
<string>generalView</string>
<string>lastSavedFormatPopUp</string>
- <string>noUpdateAvailableTextField</string>
<string>openSaveView</string>
<string>preferencesWindow</string>
<string>syntaxColouringPopUp</string>
@@ -1931,7 +1910,6 @@
<string>NSTableView</string>
<string>NSView</string>
<string>NSPopUpButton</string>
- <string>NSTextField</string>
<string>NSView</string>
<string>NSWindow</string>
<string>NSPopUpButton</string>
@@ -1956,6 +1934,28 @@
<string key="minorKey"/>
</object>
</object>
+ <object class="IBPartialClassDescription">
+ <string key="className">FirstResponder</string>
+ <string key="superclassName">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBUserSource</string>
+ <string key="minorKey"/>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">PSMTabBar/PSMTabBarControl.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBUserSource</string>
+ <string key="minorKey"/>
+ </object>
+ </object>
</object>
<object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.1+">
<bool key="EncodedWithXMLCoder">YES</bool>
View
14 French.lproj/FRAPreferencesGeneral.xib
@@ -1180,6 +1180,14 @@
</object>
<int key="connectionID">182</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">changeGutterWidth:</string>
+ <reference key="source" ref="1034643593"/>
+ <reference key="destination" ref="811493167"/>
+ </object>
+ <int key="connectionID">183</int>
+ </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@@ -1783,7 +1791,7 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{401, 365}, {640, 420}}</string>
+ <string>{{385, 143}, {640, 420}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -1856,7 +1864,7 @@
</object>
</object>
<nil key="sourceID"/>
- <int key="maxID">182</int>
+ <int key="maxID">183</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -1868,6 +1876,7 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <string>changeGutterWidth:</string>
<string>openSetFolderAction:</string>
<string>revertToStandardSettingsAction:</string>
<string>saveAsSetFolderAction:</string>
@@ -1879,6 +1888,7 @@
<string>id</string>
<string>id</string>
<string>id</string>
+ <string>id</string>
</object>
</object>
<object class="NSMutableDictionary" key="outlets">
View
62 German.lproj/FRAPreferencesGeneral.xib
@@ -12,6 +12,7 @@
</object>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <integer value="35"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -38,7 +39,7 @@
<string key="NSClassName">NSApplication</string>
</object>
<object class="NSCustomView" id="704015996">
- <nil key="NSNextResponder"/>
+ <reference key="NSNextResponder"/>
<int key="NSvFlags">256</int>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -851,6 +852,7 @@
</object>
</object>
<string key="NSFrameSize">{600, 398}</string>
+ <reference key="NSSuperview"/>
<object class="NSMutableString" key="NSClassName">
<characters key="NS.bytes">NSView</characters>
</object>
@@ -1178,6 +1180,14 @@
</object>
<int key="connectionID">182</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">changeGutterWidth:</string>
+ <reference key="source" ref="1034643593"/>
+ <reference key="destination" ref="811493167"/>
+ </object>
+ <int key="connectionID">183</int>
+ </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@@ -1781,7 +1791,7 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{401, 387}, {600, 398}}</string>
+ <string>{{445, 158}, {600, 398}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -1854,40 +1864,19 @@
</object>
</object>
<nil key="sourceID"/>
- <int key="maxID">182</int>
+ <int key="maxID">183</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBPartialClassDescription">
- <string key="className">FirstResponder</string>
- <string key="superclassName">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBUserSource</string>
- <string key="minorKey"/>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">PSMTabBar/PSMTabBarControl.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBUserSource</string>
- <string key="minorKey"/>
- </object>
- </object>
- <object class="IBPartialClassDescription">
<string key="className">FRAPreferencesController</string>
<string key="superclassName">NSObject</string>
<object class="NSMutableDictionary" key="actions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <string>changeGutterWidth:</string>
<string>openSetFolderAction:</string>
<string>revertToStandardSettingsAction:</string>
<string>saveAsSetFolderAction:</string>
@@ -1899,6 +1888,7 @@
<string>id</string>
<string>id</string>
<string>id</string>
+ <string>id</string>
</object>
</object>
<object class="NSMutableDictionary" key="outlets">
@@ -1951,6 +1941,28 @@
<string key="minorKey"/>
</object>
</object>
+ <object class="IBPartialClassDescription">
+ <string key="className">FirstResponder</string>
+ <string key="superclassName">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBUserSource</string>
+ <string key="minorKey"/>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">PSMTabBar/PSMTabBarControl.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBUserSource</string>
+ <string key="minorKey"/>
+ </object>
+ </object>
</object>
<object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.1+">
<bool key="EncodedWithXMLCoder">YES</bool>
View
14 Italian.lproj/FRAPreferencesGeneral.xib
@@ -1180,6 +1180,14 @@
</object>
<int key="connectionID">182</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">changeGutterWidth:</string>
+ <reference key="source" ref="1034643593"/>
+ <reference key="destination" ref="811493167"/>
+ </object>
+ <int key="connectionID">183</int>
+ </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@@ -1783,7 +1791,7 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{401, 365}, {640, 420}}</string>
+ <string>{{399, 194}, {640, 420}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -1856,7 +1864,7 @@
</object>
</object>
<nil key="sourceID"/>
- <int key="maxID">182</int>
+ <int key="maxID">183</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -1868,6 +1876,7 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <string>changeGutterWidth:</string>
<string>openSetFolderAction:</string>
<string>revertToStandardSettingsAction:</string>
<string>saveAsSetFolderAction:</string>
@@ -1879,6 +1888,7 @@
<string>id</string>
<string>id</string>
<string>id</string>
+ <string>id</string>
</object>
</object>
<object class="NSMutableDictionary" key="outlets">
View
14 Japanese.lproj/FRAPreferencesGeneral.xib
@@ -1180,6 +1180,14 @@
</object>
<int key="connectionID">182</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">changeGutterWidth:</string>
+ <reference key="source" ref="1034643593"/>
+ <reference key="destination" ref="811493167"/>
+ </object>
+ <int key="connectionID">183</int>
+ </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@@ -1783,7 +1791,7 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{401, 387}, {600, 398}}</string>
+ <string>{{422, 166}, {600, 398}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -1856,7 +1864,7 @@
</object>
</object>
<nil key="sourceID"/>
- <int key="maxID">182</int>
+ <int key="maxID">183</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -1868,6 +1876,7 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <string>changeGutterWidth:</string>
<string>openSetFolderAction:</string>
<string>revertToStandardSettingsAction:</string>
<string>saveAsSetFolderAction:</string>
@@ -1879,6 +1888,7 @@
<string>id</string>
<string>id</string>
<string>id</string>
+ <string>id</string>
</object>
</object>
<object class="NSMutableDictionary" key="outlets">
View
58 Spanish.lproj/FRAPreferencesGeneral.xib
@@ -1180,6 +1180,14 @@
</object>
<int key="connectionID">182</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">changeGutterWidth:</string>
+ <reference key="source" ref="1034643593"/>
+ <reference key="destination" ref="811493167"/>
+ </object>
+ <int key="connectionID">183</int>
+ </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@@ -1783,7 +1791,7 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{401, 387}, {620, 398}}</string>
+ <string>{{450, 146}, {620, 398}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -1856,40 +1864,19 @@
</object>
</object>
<nil key="sourceID"/>
- <int key="maxID">182</int>
+ <int key="maxID">183</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBPartialClassDescription">
- <string key="className">FirstResponder</string>
- <string key="superclassName">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBUserSource</string>
- <string key="minorKey"/>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">PSMTabBar/PSMTabBarControl.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBUserSource</string>
- <string key="minorKey"/>
- </object>
- </object>
- <object class="IBPartialClassDescription">
<string key="className">FRAPreferencesController</string>
<string key="superclassName">NSObject</string>
<object class="NSMutableDictionary" key="actions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <string>changeGutterWidth:</string>
<string>openSetFolderAction:</string>
<string>revertToStandardSettingsAction:</string>
<string>saveAsSetFolderAction:</string>
@@ -1901,6 +1888,7 @@
<string>id</string>
<string>id</string>
<string>id</string>
+ <string>id</string>
</object>
</object>
<object class="NSMutableDictionary" key="outlets">
@@ -1953,6 +1941,28 @@
<string key="minorKey"/>
</object>
</object>
+ <object class="IBPartialClassDescription">
+ <string key="className">FirstResponder</string>
+ <string key="superclassName">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBUserSource</string>
+ <string key="minorKey"/>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">PSMTabBar/PSMTabBarControl.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBUserSource</string>
+ <string key="minorKey"/>
+ </object>
+ </object>
</object>
<object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.1+">
<bool key="EncodedWithXMLCoder">YES</bool>
View
56 sv.lproj/FRAPreferencesGeneral.xib
@@ -1180,6 +1180,14 @@
</object>
<int key="connectionID">182</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">changeGutterWidth:</string>
+ <reference key="source" ref="1034643593"/>
+ <reference key="destination" ref="811493167"/>
+ </object>
+ <int key="connectionID">183</int>
+ </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@@ -1856,40 +1864,19 @@
</object>
</object>
<nil key="sourceID"/>
- <int key="maxID">182</int>
+ <int key="maxID">183</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBPartialClassDescription">
- <string key="className">FirstResponder</string>
- <string key="superclassName">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBUserSource</string>
- <string key="minorKey"/>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">PSMTabBar/PSMTabBarControl.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBUserSource</string>
- <string key="minorKey"/>
- </object>
- </object>
- <object class="IBPartialClassDescription">
<string key="className">FRAPreferencesController</string>
<string key="superclassName">NSObject</string>
<object class="NSMutableDictionary" key="actions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <string>changeGutterWidth:</string>
<string>openSetFolderAction:</string>
<string>revertToStandardSettingsAction:</string>
<string>saveAsSetFolderAction:</string>
@@ -1901,6 +1888,7 @@
<string>id</string>
<string>id</string>
<string>id</string>
+ <string>id</string>
</object>
</object>
<object class="NSMutableDictionary" key="outlets">
@@ -1953,6 +1941,28 @@
<string key="minorKey"/>
</object>
</object>
+ <object class="IBPartialClassDescription">
+ <string key="className">FirstResponder</string>
+ <string key="superclassName">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBUserSource</string>
+ <string key="minorKey"/>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">PSMTabBar/PSMTabBarControl.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBUserSource</string>
+ <string key="minorKey"/>
+ </object>
+ </object>
</object>
<object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.1+">
<bool key="EncodedWithXMLCoder">YES</bool>

0 comments on commit 1af6a18

Please sign in to comment.