Skip to content
Browse files

64 bits support & repository cleaning

64 bits support
  • Loading branch information...
1 parent ed98a2b commit 413ffd9fe0769ccd15c808054ecd6901c7db21e3 @jfmoy committed Mar 4, 2010
Showing with 296 additions and 3,049 deletions.
  1. BIN .DS_Store
  2. +2 −0 .gitignore
  3. BIN Catalan.lproj/Localizable.strings
  4. +2 −2 Classes/NSImage+Smultron.m
  5. +5 −5 Classes/SMLAdvancedFindController.m
  6. +1 −1 Classes/SMLBasicPerformer.m
  7. +1 −1 Classes/SMLCommandsController.m
  8. +1 −1 Classes/SMLExtraInterfaceController.m
  9. +1 −1 Classes/SMLGutterTextView.m
  10. +1 −1 Classes/SMLInfoController.h
  11. +8 −4 Classes/SMLInfoController.m
  12. +10 −10 Classes/SMLInterfacePerformer.m
  13. +1 −1 Classes/SMLLineNumbers.m
  14. +3 −3 Classes/SMLPreferencesController.m
  15. +1 −1 Classes/SMLPrintTextView.m
  16. +2 −2 Classes/SMLProject+DocumentViewsController.m
  17. +1 −1 Classes/SMLProject+TableViewDelegate.m
  18. +4 −5 Classes/SMLProject.m
  19. +1 −1 Classes/SMLSnippetsController.m
  20. +49 −40 Classes/SMLStandardHeader.h
  21. +5 −5 Classes/SMLSyntaxColouring.m
  22. +1 −1 Classes/SMLTextView.m
  23. +4 −4 Classes/SMLToolsMenuController.m
  24. +1 −1 Classes/SMLVariousPerformer.m
  25. +3 −3 Classes/SMLViewMenuController.m
  26. BIN Czech.lproj/Localizable.strings
  27. BIN Dutch.lproj/Localizable.strings
  28. BIN English.lproj/Localizable.strings
  29. +0 −497 English.lproj/SMLCommandResult.xib
  30. +0 −265 English.lproj/SMLPreferences.xib
  31. +0 −1,757 English.lproj/SMLProject.xib
  32. +0 −249 English.lproj/SMLSingleDocument.xib
  33. BIN Finnish.lproj/Localizable.strings
  34. BIN French.lproj/Localizable.strings
  35. BIN German.lproj/Localizable.strings
  36. BIN Greek.lproj/Localizable.strings
  37. BIN Hungarian.lproj/Localizable.strings
  38. +5 −5 ICU/ICUMatcher.h
  39. +10 −10 ICU/ICUMatcher.m
  40. +8 −8 ICU/ICUPattern.h
  41. +23 −23 ICU/ICUPattern.m
  42. +3 −3 ICU/NSStringICUAdditions.m
  43. +6 −6 ICU/icu/unicode/platform.h
  44. BIN InfoPlist.strings
  45. BIN Italian.lproj/Localizable.strings
  46. BIN Japanese.lproj/Localizable.strings
  47. BIN Korean.lproj/Localizable.strings
  48. +12 −12 PSMTabBar/PSMTabBarCell.h
  49. +19 −19 PSMTabBar/PSMTabBarCell.m
  50. +10 −10 PSMTabBar/PSMTabBarControl.h
  51. +56 −56 PSMTabBar/PSMTabBarControl.m
  52. +4 −4 PSMTabBar/PSMTabDragAssistant.h
  53. +10 −10 PSMTabBar/PSMTabDragAssistant.m
  54. +4 −4 PSMTabBar/PSMTabStyle.h
  55. +2 −2 PSMTabBar/PSMUnifiedTabStyle.h
  56. +10 −10 PSMTabBar/PSMUnifiedTabStyle.m
  57. +6 −5 Smultron.xcodeproj/project.pbxproj
  58. BIN Spanish.lproj/Localizable.strings
  59. BIN sv.lproj/Localizable.strings
  60. BIN zh_CN.lproj/Localizable.strings
  61. BIN zh_TW.lproj/Localizable.strings
View
BIN .DS_Store
Binary file not shown.
View
2 .gitignore
@@ -0,0 +1,2 @@
+.DS_Store
+build/
View
BIN Catalan.lproj/Localizable.strings
Binary file not shown.
View
4 Classes/NSImage+Smultron.m
@@ -96,12 +96,12 @@ + (CIImage *)unsavedFilterForCIImage:(CIImage *)ciImage
CIFilter *filter1 = [CIFilter filterWithName:@"CIColorControls"];
[filter1 setDefaults];
[filter1 setValue:ciImage forKey:@"inputImage"];
- [filter1 setValue:[NSNumber numberWithFloat:-0.1] forKey:@"inputBrightness"];
+ [filter1 setValue:[NSNumber numberWithDouble:-0.1] forKey:@"inputBrightness"];
CIFilter *filter2 = [CIFilter filterWithName:@"CISepiaTone"];
[filter2 setDefaults];
[filter2 setValue:[filter1 valueForKey:@"outputImage"] forKey:@"inputImage"];
- [filter2 setValue:[NSNumber numberWithFloat:0.9] forKey:@"inputIntensity"];
+ [filter2 setValue:[NSNumber numberWithDouble:0.9] forKey:@"inputIntensity"];
return [filter2 valueForKey:@"outputImage"];
}
View
10 Classes/SMLAdvancedFindController.m
@@ -198,7 +198,7 @@ - (IBAction)findAction:(id)sender
} else if (numberOfResults == 1) {
searchResultString = [NSString stringWithFormat:NSLocalizedString(@"Found one match for search-string %@", @"Found one match for search-string %@ in Advanced Find"), searchString];
} else {
- searchResultString = [NSString stringWithFormat:NSLocalizedString(@"Found %i matches for search-string %@", @"Found %i matches for search-string %@ in Advanced Find"), numberOfResults, searchString];
+ searchResultString = [NSString stringWithFormat:NSLocalizedString(@"Found %ld matches for search-string %@", @"Found %ld matches for search-string %@ in Advanced Find"), (long)numberOfResults, searchString];
}
[findResultTextField setStringValue:searchResultString];
@@ -331,14 +331,14 @@ - (IBAction)replaceAction:(id)sender
NSString *defaultButton;
if ([replaceString length] > 0) {
if (numberOfResults != 1) {
- title = [NSString stringWithFormat:NSLocalizedString(@"Are you sure that you want to replace %i occurrences of %@ with %@?", @"Ask if you are sure that you want to replace %i occurrences of %@ with %@ in ask-if-sure-you-want-to-replace-in-advanced-find-sheet"), numberOfResults, searchString, replaceString];
+ title = [NSString stringWithFormat:NSLocalizedString(@"Are you sure that you want to replace %ld occurrences of %@ with %@?", @"Ask if you are sure that you want to replace %ld occurrences of %@ with %@ in ask-if-sure-you-want-to-replace-in-advanced-find-sheet"), (long) numberOfResults, searchString, replaceString];
} else {
title = [NSString stringWithFormat:NSLocalizedString(@"Are you sure that you want to replace one occurrence of %@ with %@?", @"Ask if you are sure that you want to replace one occurrence of %@ with %@ in ask-if-sure-you-want-to-replace-in-advanced-find-sheet"), searchString, replaceString];
}
defaultButton = NSLocalizedString(@"Replace", @"Replace-button in ask-if-sure-you-want-to-replace-in-advanced-find-sheet");
} else {
if (numberOfResults != 1) {
- title = [NSString stringWithFormat:NSLocalizedString(@"Are you sure that you want to delete %i occurrences of %@?", @"Ask if you are sure that you want to delete %i occurrences of %@ in ask-if-sure-you-want-to-replace-in-advanced-find-sheet"), numberOfResults, searchString, replaceString];
+ title = [NSString stringWithFormat:NSLocalizedString(@"Are you sure that you want to delete %ld occurrences of %@?", @"Ask if you are sure that you want to delete %ld occurrences of %@ in ask-if-sure-you-want-to-replace-in-advanced-find-sheet"), (long) numberOfResults, searchString, replaceString];
} else {
title = [NSString stringWithFormat:NSLocalizedString(@"Are you sure that you want to delete the one occurrence of %@?", @"Ask if you are sure that you want to delete the one occurrence of %@ in ask-if-sure-you-want-to-replace-in-advanced-find-sheet"), searchString, replaceString];
}
@@ -442,7 +442,7 @@ - (void)performNumberOfReplaces:(NSInteger)numberOfReplaces
}
if (numberOfReplaces != 1) {
- [findResultTextField setObjectValue:[NSString stringWithFormat:NSLocalizedString(@"Replaced %i occurrences of %@ with %@", @"Indicate that we replaced %i occurrences of %@ with %@ in update-search-textField-after-replace"), numberOfReplaces, searchString, replaceString]];
+ [findResultTextField setObjectValue:[NSString stringWithFormat:NSLocalizedString(@"Replaced %ld occurrences of %@ with %@", @"Indicate that we replaced %ld occurrences of %@ with %@ in update-search-textField-after-replace"), (long)numberOfReplaces, searchString, replaceString]];
} else {
[findResultTextField setObjectValue:[NSString stringWithFormat:NSLocalizedString(@"Replaced one occurrence of %@ with %@", @"Indicate that we replaced one occurrence of %@ with %@ in update-search-textField-after-replace"), searchString, replaceString]];
}
@@ -598,7 +598,7 @@ - (void)outlineView:(NSOutlineView *)outlineView willDisplayCell:(id)cell forTab
- (NSMutableDictionary *)preparedResultDictionaryFromString:(NSString *)completeString searchStringLength:(NSInteger)searchStringLength range:(NSRange)foundRange lineNumber:(NSInteger)lineNumber document:(id)document
{
NSMutableString *displayString = [[NSMutableString alloc] init];
- NSString *lineNumberString = [NSString stringWithFormat:@"%d\t", lineNumber];
+ NSString *lineNumberString = [NSString stringWithFormat:@"%d\t", (long)lineNumber];
[displayString appendString:lineNumberString];
NSRange linesRange = [completeString lineRangeForRange:foundRange];
[displayString appendString:[SMLText replaceAllNewLineCharactersWithSymbolInString:[completeString substringWithRange:linesRange]]];
View
2 Classes/SMLBasicPerformer.m
@@ -216,7 +216,7 @@ - (NSString *)genererateTemporaryPath
NSString *temporaryPath;
do {
sequenceNumber++;
- temporaryPath = [NSString stringWithFormat:@"%d-%d-%d.%@", [[NSProcessInfo processInfo] processIdentifier], (NSInteger)[NSDate timeIntervalSinceReferenceDate], sequenceNumber, @"Smultron"];
+ temporaryPath = [NSString stringWithFormat:@"%ld-%ld-%ld.%@", [[NSProcessInfo processInfo] processIdentifier], (NSInteger)[NSDate timeIntervalSinceReferenceDate], sequenceNumber, @"Smultron"];
temporaryPath = [NSTemporaryDirectory() stringByAppendingPathComponent:temporaryPath];
} while ([[NSFileManager defaultManager] fileExistsAtPath:temporaryPath]);
View
2 Classes/SMLCommandsController.m
@@ -176,7 +176,7 @@ - (void)importCommands
}
-- (void)openPanelDidEnd:(NSOpenPanel *)panel returnCode:(int)returnCode contextInfo:(void *)contextInfo
+- (void)openPanelDidEnd:(NSOpenPanel *)panel returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo
{
if (returnCode == NSOKButton) {
[self performCommandsImportWithPath:[panel filename]];
View
2 Classes/SMLExtraInterfaceController.m
@@ -210,7 +210,7 @@ - (IBAction)createNewProjectAction:(id)sender
}
-- (void)savePanelDidEnd:(NSSavePanel *)sheet returnCode:(int)returnCode contextInfo:(void *)contextInfo
+- (void)savePanelDidEnd:(NSSavePanel *)sheet returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo
{
[sheet close];
View
2 Classes/SMLGutterTextView.m
@@ -31,7 +31,7 @@ - (id)initWithFrame:(NSRect)frame
[self setAlignment:NSRightTextAlignment];
[self setEditable:NO];
[self setSelectable:NO];
- [[self textContainer] setContainerSize:NSMakeSize([[SMLDefaults valueForKey:@"GutterWidth"] integerValue], FLT_MAX)];
+ [[self textContainer] setContainerSize:NSMakeSize([[SMLDefaults valueForKey:@"GutterWidth"] integerValue], NSIntegerMax)];
[self setVerticallyResizable:YES];
[self setHorizontallyResizable:YES];
[self setAutoresizingMask:NSViewHeightSizable];
View
2 Classes/SMLInfoController.h
@@ -48,5 +48,5 @@ Unless required by applicable law or agreed to in writing, software distributed
- (void)openInfoWindow;
- (void)refreshInfo;
-- (NSString *)stringFromPermissions:(unsigned long)permissions;
+- (NSString *)stringFromPermissions:(NSUInteger)permissions;
@end
View
12 Classes/SMLInfoController.m
@@ -144,7 +144,7 @@ - (void)refreshInfo
}
- [linesTextField setStringValue:[NSString stringWithFormat:@"%d/%d", [SMLInterface currentLineNumber], lineNumber]];
+ [linesTextField setStringValue:[NSString stringWithFormat:@"%ld/%ld", [SMLInterface currentLineNumber], lineNumber]];
NSArray *functions = [SMLInterface allFunctions];
@@ -176,11 +176,15 @@ - (void)refreshInfo
}
}
-
-- (NSString *)stringFromPermissions:(unsigned long)permissions
+- (NSString *)stringFromPermissions:(NSUInteger)permissions
{
char permissionsString[10];
- strmode(permissions, permissionsString);
+
+#if __LP64__
+ strmode((short)permissions, permissionsString);
+#else
+ strmode(permissions, permissionsString);
+#endif
NSMutableString *returnString = [NSMutableString stringWithUTF8String:permissionsString];
[returnString deleteCharactersInRange:NSMakeRange(0, 1)];
View
20 Classes/SMLInterfacePerformer.m
@@ -99,13 +99,13 @@ - (void)createFirstViewForDocument:(id)document
[textScrollView setHasHorizontalScroller:NO];
[textView setHorizontallyResizable:YES];
[[textView textContainer] setWidthTracksTextView:YES];
- [[textView textContainer] setContainerSize:NSMakeSize(contentSize.width, FLT_MAX)];
+ [[textView textContainer] setContainerSize:NSMakeSize(contentSize.width, CGFLOAT_MAX)];
} else {
textView = [[SMLTextView alloc] initWithFrame:NSMakeRect([[SMLDefaults valueForKey:@"GutterWidth"] integerValue], 0, contentSize.width, contentSize.height)];
[textView setMinSize:contentSize];
[textScrollView setHasHorizontalScroller:YES];
[textView setHorizontallyResizable:YES];
- [[textView textContainer] setContainerSize:NSMakeSize(FLT_MAX, FLT_MAX)];
+ [[textView textContainer] setContainerSize:NSMakeSize(CGFLOAT_MAX, CGFLOAT_MAX)];
[[textView textContainer] setWidthTracksTextView:NO];
}
@@ -164,13 +164,13 @@ - (void)insertDocumentIntoSecondContentView:(id)document
[textScrollView setHasHorizontalScroller:NO];
[textView setHorizontallyResizable:NO];
[[textView textContainer] setWidthTracksTextView:YES];
- [[textView textContainer] setContainerSize:NSMakeSize(contentSize.width, FLT_MAX)];
+ [[textView textContainer] setContainerSize:NSMakeSize(contentSize.width, CGFLOAT_MAX)];
} else {
textView = [[SMLTextView alloc] initWithFrame:NSMakeRect(gutterWidth, 0, contentSize.width, contentSize.height) textContainer:container];
[textView setMinSize:contentSize];
[textScrollView setHasHorizontalScroller:YES];
[textView setHorizontallyResizable:YES];
- [[textView textContainer] setContainerSize:NSMakeSize(FLT_MAX, FLT_MAX)];
+ [[textView textContainer] setContainerSize:NSMakeSize(CGFLOAT_MAX, CGFLOAT_MAX)];
[[textView textContainer] setWidthTracksTextView:NO];
}
[textView setDefaults];
@@ -259,13 +259,13 @@ - (void)insertDocumentIntoThirdContentView:(id)document orderFront:(BOOL)orderFr
[textScrollView setHasHorizontalScroller:NO];
[textView setHorizontallyResizable:NO];
[[textView textContainer] setWidthTracksTextView:YES];
- [[textView textContainer] setContainerSize:NSMakeSize(contentSize.width, FLT_MAX)];
+ [[textView textContainer] setContainerSize:NSMakeSize(contentSize.width, CGFLOAT_MAX)];
} else {
textView = [[SMLTextView alloc] initWithFrame:NSMakeRect(gutterWidth, 0, contentSize.width, contentSize.height) textContainer:container];
[textView setMinSize:contentSize];
[textScrollView setHasHorizontalScroller:YES];
[textView setHorizontallyResizable:YES];
- [[textView textContainer] setContainerSize:NSMakeSize(FLT_MAX, FLT_MAX)];
+ [[textView textContainer] setContainerSize:NSMakeSize(CGFLOAT_MAX, CGFLOAT_MAX)];
[[textView textContainer] setWidthTracksTextView:NO];
}
[textView setDefaults];
@@ -330,13 +330,13 @@ - (void)insertDocumentIntoFourthContentView:(id)document
[textScrollView setHasHorizontalScroller:NO];
[textView setHorizontallyResizable:NO];
[[textView textContainer] setWidthTracksTextView:YES];
- [[textView textContainer] setContainerSize:NSMakeSize(contentSize.width, FLT_MAX)];
+ [[textView textContainer] setContainerSize:NSMakeSize(contentSize.width, CGFLOAT_MAX)];
} else {
textView = [[SMLTextView alloc] initWithFrame:NSMakeRect(gutterWidth, 0, contentSize.width, contentSize.height) textContainer:container];
[textView setMinSize:contentSize];
[textScrollView setHasHorizontalScroller:YES];
[textView setHorizontallyResizable:YES];
- [[textView textContainer] setContainerSize:NSMakeSize(FLT_MAX, FLT_MAX)];
+ [[textView textContainer] setContainerSize:NSMakeSize(CGFLOAT_MAX, CGFLOAT_MAX)];
[[textView textContainer] setWidthTracksTextView:NO];
}
[textView setDefaults];
@@ -494,7 +494,7 @@ - (void)enterFullScreenForDocument:(id)document
} else {
width = [[document valueForKey:@"firstTextView"] bounds].size.width * [[NSScreen mainScreen] userSpaceScaleFactor];
}
- fullScreenRect = NSMakeRect(fullScreenRect.origin.x - ((width - fullScreenRect.size.width + [[document valueForKey:@"gutterWidth"] floatValue]) / 2), fullScreenRect.origin.y, width + [[document valueForKey:@"gutterWidth"] floatValue], fullScreenRect.size.height);
+ fullScreenRect = NSMakeRect(fullScreenRect.origin.x - ((width - fullScreenRect.size.width + [[document valueForKey:@"gutterWidth"] doubleValue]) / 2), fullScreenRect.origin.y, width + [[document valueForKey:@"gutterWidth"] doubleValue], fullScreenRect.size.height);
fullScreenWindow = [[SMLFullScreenWindow alloc] initWithContentRect:[[NSScreen mainScreen] frame] styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO screen:[NSScreen mainScreen]];
@@ -575,7 +575,7 @@ - (void)insertAllFunctionsIntoMenu:(NSMenu *)menu
for (id item in enumerator) {
NSMenuItem *menuItem = [[NSMenuItem alloc] init];
NSInteger lineNumber = [[item valueForKey:@"lineNumber"] integerValue];
- NSString *title = [NSString stringWithFormat:@"%d%@%@", lineNumber, spaceBetween, [item valueForKey:@"name"]];
+ NSString *title = [NSString stringWithFormat:@"%ld%@%@", lineNumber, spaceBetween, [item valueForKey:@"name"]];
[menuItem setTitle:title];
[menuItem setTarget:SMLInterface];
[menuItem setAction:@selector(goToFunctionOnLine:)];
View
2 Classes/SMLLineNumbers.m
@@ -132,7 +132,7 @@ - (void)updateLineNumbersForClipView:(NSClipView *)clipView checkWidth:(BOOL)che
while (indexNonWrap <= maxRangeVisibleRange) {
if (index == indexNonWrap) {
lineNumber++;
- [lineNumbersString appendFormat:@"%i\n", lineNumber];
+ [lineNumbersString appendFormat:@"%ld\n", lineNumber];
} else {
[lineNumbersString appendFormat:@"%C\n", 0x00B7];
indexNonWrap = index;
View
6 Classes/SMLPreferencesController.m
@@ -102,7 +102,7 @@ - (void)setDefaults
[dictionary setValue:[NSNumber numberWithInteger:SMLPreviewHTML] forKey:@"PreviewParser"];
[dictionary setValue:[NSNumber numberWithInteger:SMLCurrentDocumentScope] forKey:@"AdvancedFindScope"];
- [dictionary setValue:[NSNumber numberWithFloat:0.5] forKey:@"AutocompleteAfterDelay"];
+ [dictionary setValue:[NSNumber numberWithDouble:0.5] forKey:@"AutocompleteAfterDelay"];
[dictionary setValue:[NSArchiver archivedDataWithRootObject:[NSFont fontWithName:@"Menlo" size:11]] forKey:@"TextFont"];
[dictionary setValue:[[NSString localizedStringWithFormat:@"%@/%@", NSHomeDirectory(), @"Desktop"] stringByAbbreviatingWithTildeInPath] forKey:@"OpenAlwaysUseTextField"];
@@ -188,8 +188,8 @@ - (void)setDefaults
[dictionary setValue:[NSNumber numberWithBool:NO] forKey:@"SuppressReplaceWarning"];
[dictionary setValue:[NSNumber numberWithInteger:SMLVirtualProject] forKey:@"WhatKindOfProject"];
[dictionary setValue:[NSNumber numberWithBool:NO] forKey:@"LiveUpdatePreview"];
- [dictionary setValue:[NSNumber numberWithFloat:1.0] forKey:@"LiveUpdatePreviewDelay"];
- [dictionary setValue:[NSNumber numberWithFloat:0.2] forKey:@"DividerPosition"];
+ [dictionary setValue:[NSNumber numberWithDouble:1.0] forKey:@"LiveUpdatePreviewDelay"];
+ [dictionary setValue:[NSNumber numberWithDouble:0.2] forKey:@"DividerPosition"];
[dictionary setValue:[NSNumber numberWithBool:YES] forKey:@"ShowSizeSlider"];
[dictionary setValue:[NSNumber numberWithBool:YES] forKey:@"PutQuotesAroundDirectory"];
[dictionary setValue:[NSNumber numberWithBool:NO] forKey:@"FocusOnTextInAdvancedFind"];
View
2 Classes/SMLPrintTextView.m
@@ -51,7 +51,7 @@ - (void)drawPageBorderWithSize:(NSSize)borderSize
{
NSPrintInfo *printInfo = [SMLCurrentProject printInfo];
if ([printInfo topMargin] != [printInfo bottomMargin]) { // We should print a header
- NSString *headerString = [NSString stringWithFormat:@"%i %C %@ %C %@ %C %@", [[NSPrintOperation currentOperation] currentPage], 0x00B7, [SMLCurrentDocument valueForKey:@"name"], 0x00B7, [[NSDate date] descriptionWithCalendarFormat:@"%Y-%m-%d %H:%M" timeZone:nil locale:nil], 0x00B7, NSFullUserName()];
+ NSString *headerString = [NSString stringWithFormat:@"%ld %C %@ %C %@ %C %@", [[NSPrintOperation currentOperation] currentPage], 0x00B7, [SMLCurrentDocument valueForKey:@"name"], 0x00B7, [[NSDate date] descriptionWithCalendarFormat:@"%Y-%m-%d %H:%M" timeZone:nil locale:nil], 0x00B7, NSFullUserName()];
NSRect savedTextRect = [self frame];
[self setFrame:NSMakeRect(0, 0, borderSize.width, borderSize.height)];
View
4 Classes/SMLProject+DocumentViewsController.m
@@ -52,7 +52,7 @@ - (void)setDefaultViews
- (IBAction)viewSizeSliderAction:(id)sender
{
- NSInteger size = round([viewSelectionSizeSlider floatValue]);
+ NSInteger size = round([viewSelectionSizeSlider doubleValue]);
[SMLDefaults setValue:[NSNumber numberWithInteger:size] forKey:@"ViewSize"];
[project setValue:[NSNumber numberWithInteger:size] forKey:@"viewSize"];
@@ -93,7 +93,7 @@ - (void)insertView:(SMLView)view
[leftDocumentsView addSubview:viewSelectionView];
//}
- [viewSelectionSizeSlider setFloatValue:[[project valueForKey:@"viewSize"] floatValue]];
+ [viewSelectionSizeSlider setDoubleValue:[[project valueForKey:@"viewSize"] doubleValue]];
}
View
2 Classes/SMLProject+TableViewDelegate.m
@@ -74,7 +74,7 @@ - (void)tableView:(NSTableView *)aTableView willDisplayCell:(id)aCell forTableCo
image = [document valueForKey:@"icon"];
}
- [(SMLDocumentsListCell *)aCell setHeightAndWidth:[[[self valueForKey:@"project"] valueForKey:@"viewSize"] floatValue]];
+ [(SMLDocumentsListCell *)aCell setHeightAndWidth:[[[self valueForKey:@"project"] valueForKey:@"viewSize"] doubleValue]];
[(SMLDocumentsListCell *)aCell setImage:image];
if ([[SMLDefaults valueForKey:@"ShowFullPathInDocumentsList"] boolValue] == YES) {
View
9 Classes/SMLProject.m
@@ -175,7 +175,7 @@ - (NSPrintInfo *)printInfo
{
NSPrintInfo *printInfo = [super printInfo];
- CGFloat marginsMin = [[SMLDefaults valueForKey:@"MarginsMin"] floatValue];
+ CGFloat marginsMin = [[SMLDefaults valueForKey:@"MarginsMin"] doubleValue];
if ([[SMLDefaults valueForKey:@"PrintHeader"] boolValue] == YES) {
[printInfo setTopMargin:(marginsMin + 22)];
} else {
@@ -470,7 +470,6 @@ - (void)checkIfDocumentIsUnsaved:(id)document keepOpen:(BOOL)keepOpen
if ([[document valueForKey:@"isEdited"] boolValue] == YES) {
[self selectDocument:document];
NSString *title = [NSString stringWithFormat:NSLocalizedString(@"The document %@ has not been saved", @"Indicate in Close-sheet that the document %@ has not been saved."), [document valueForKey:@"name"]];
-
NSBeginAlertSheet(title,
SAVE_STRING,
NSLocalizedString(@"Don't Save", @"Don't Save-button in Close-sheet"),
@@ -739,7 +738,7 @@ - (void)secondContentViewDocumentChanged:(id)sender
- (CGFloat)mainSplitViewFraction
{
- float fraction;
+ CGFloat fraction;
if ([contentSplitView bounds].size.width + [leftDocumentsView bounds].size.width + [mainSplitView dividerThickness] != 0) {
fraction = [leftDocumentsView bounds].size.width / ([contentSplitView bounds].size.width + [leftDocumentsView bounds].size.width + [mainSplitView dividerThickness]);
} else {
@@ -755,7 +754,7 @@ - (void)resizeMainSplitView
NSRect leftDocumentsViewFrame = [[[mainSplitView subviews] objectAtIndex:0] frame];
NSRect contentViewFrame = [[[mainSplitView subviews] objectAtIndex:1] frame];
CGFloat totalWidth = leftDocumentsViewFrame.size.width + contentViewFrame.size.width + [mainSplitView dividerThickness];
- leftDocumentsViewFrame.size.width = [[project valueForKey:@"dividerPosition"] floatValue] * totalWidth;
+ leftDocumentsViewFrame.size.width = [[project valueForKey:@"dividerPosition"] doubleValue] * totalWidth;
contentViewFrame.size.width = totalWidth - leftDocumentsViewFrame.size.width - [mainSplitView dividerThickness];
[[[mainSplitView subviews] objectAtIndex:0] setFrame:leftDocumentsViewFrame];
@@ -767,7 +766,7 @@ - (void)resizeMainSplitView
- (void)saveMainSplitViewFraction
{
- NSNumber *fraction = [NSNumber numberWithFloat:[self mainSplitViewFraction]];
+ NSNumber *fraction = [NSNumber numberWithDouble:[self mainSplitViewFraction]];
[project setValue:fraction forKey:@"dividerPosition"];
[SMLDefaults setValue:fraction forKey:@"DividerPosition"];
}
View
2 Classes/SMLSnippetsController.m
@@ -199,7 +199,7 @@ - (void)importSnippets
}
-- (void)openPanelDidEnd:(NSOpenPanel *)panel returnCode:(int)returnCode contextInfo:(void *)contextInfo
+- (void)openPanelDidEnd:(NSOpenPanel *)panel returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo
{
if (returnCode == NSOKButton) {
[self performSnippetsImportWithPath:[panel filename]];
View
89 Classes/SMLStandardHeader.h
@@ -24,48 +24,80 @@ Unless required by applicable law or agreed to in writing, software distributed
#endif
-typedef enum {
+#define SMULTRON_ERROR_DOMAIN @"org.smultron.Smultron.ErrorDomain"
+
+#import <Cocoa/Cocoa.h>
+#import <Carbon/Carbon.h>
+
+#import <SystemConfiguration/SCNetwork.h>
+
+#import <ApplicationServices/ApplicationServices.h>
+
+#import <WebKit/WebKit.h>
+
+#import <QuartzCore/QuartzCore.h>
+
+#import <QuickLook/QuickLook.h>
+
+
+
+#import <unistd.h>
+
+#import <unistd.h>
+#import <sys/param.h>
+#import <sys/mount.h>
+#import <sys/xattr.h>
+
+
+enum {
SMLDefaultsLineEndings = 0,
SMLUnixLineEndings = 1,
SMLMacLineEndings = 2,
SMLDarkSideLineEndings = 3,
SMLLeaveLineEndingsUnchanged = 6
-} SMLLineEndings;
+};
+typedef NSUInteger SMLLineEndings;
-typedef enum {
+enum {
SMLCurrentDocumentScope = 0,
SMLCurrentProjectScope = 1,
SMLAllDocumentsScope = 2
-} SMLAdvancedFindScope;
+};
+typedef NSUInteger SMLAdvancedFindScope;
-typedef enum {
+enum {
SMLListView = 0
-} SMLView;
+};
+typedef NSUInteger SMLView;
-typedef enum {
+enum {
SMLVirtualProject = 0,
SMLPermantProject = 1
-} SMLWhatKindOfProject;
+};
+typedef NSUInteger SMLWhatKindOfProject;
-typedef enum {
+enum {
SMLCheckForUpdatesNever = 0,
SMLCheckForUpdatesDaily = 1,
SMLCheckForUpdatesWeekly = 2,
SMLCheckForUpdatesMonthly = 3
-} SMLCheckForUpdatesInterval;
+};
+typedef NSUInteger SMLCheckForUpdatesInterval;
-typedef enum {
+enum {
SMLPreviewHTML = 0,
SMLPreviewMarkdown = 1,
SMLPreviewMultiMarkdown = 2,
-} SMLPreviewParser;
+};
+typedef NSUInteger SMLPreviewParser;
-typedef enum {
+enum {
SMLOpenSaveRemember = 0,
SMLOpenSaveCurrent = 1,
SMLOpenSaveAlways = 2
-} SMLOpenSaveMatrix;
+};
+typedef NSUInteger SMLOpenSaveMatrix;
typedef struct _AppleEventSelectionRange {
short unused1; // 0 (not used)
@@ -76,33 +108,10 @@ typedef struct _AppleEventSelectionRange {
long theDate; // modification date/time
} AppleEventSelectionRange;
-typedef enum {
+enum {
SmultronSaveErrorEncodingInapplicable = 1,
-} SMLErrors;
-
-#define SMULTRON_ERROR_DOMAIN @"org.smultron.Smultron.ErrorDomain"
-
-#import <Cocoa/Cocoa.h>
-#import <Carbon/Carbon.h>
-
-#import <SystemConfiguration/SCNetwork.h>
-
-#import <ApplicationServices/ApplicationServices.h>
-
-#import <WebKit/WebKit.h>
-
-#import <QuartzCore/QuartzCore.h>
-
-#import <QuickLook/QuickLook.h>
-
-
-
-#import <unistd.h>
-
-#import <unistd.h>
-#import <sys/param.h>
-#import <sys/mount.h>
-#import <sys/xattr.h>
+};
+typedef NSUInteger SMLErrors;
View
10 Classes/SMLSyntaxColouring.m
@@ -1093,15 +1093,15 @@ - (void)textDidChange:(NSNotification *)notification
}
if (autocompleteWordsTimer != nil) {
- [autocompleteWordsTimer setFireDate:[NSDate dateWithTimeIntervalSinceNow:[[SMLDefaults valueForKey:@"AutocompleteAfterDelay"] floatValue]]];
+ [autocompleteWordsTimer setFireDate:[NSDate dateWithTimeIntervalSinceNow:[[SMLDefaults valueForKey:@"AutocompleteAfterDelay"] doubleValue]]];
} else if ([[SMLDefaults valueForKey:@"AutocompleteSuggestAutomatically"] boolValue] == YES) {
- autocompleteWordsTimer = [NSTimer scheduledTimerWithTimeInterval:[[SMLDefaults valueForKey:@"AutocompleteAfterDelay"] floatValue] target:self selector:@selector(autocompleteWordsTimerSelector:) userInfo:textView repeats:NO];
+ autocompleteWordsTimer = [NSTimer scheduledTimerWithTimeInterval:[[SMLDefaults valueForKey:@"AutocompleteAfterDelay"] doubleValue] target:self selector:@selector(autocompleteWordsTimerSelector:) userInfo:textView repeats:NO];
}
if (liveUpdatePreviewTimer != nil) {
- [liveUpdatePreviewTimer setFireDate:[NSDate dateWithTimeIntervalSinceNow:[[SMLDefaults valueForKey:@"LiveUpdatePreviewDelay"] floatValue]]];
+ [liveUpdatePreviewTimer setFireDate:[NSDate dateWithTimeIntervalSinceNow:[[SMLDefaults valueForKey:@"LiveUpdatePreviewDelay"] doubleValue]]];
} else if ([[SMLDefaults valueForKey:@"LiveUpdatePreview"] boolValue] == YES) {
- liveUpdatePreviewTimer = [NSTimer scheduledTimerWithTimeInterval:[[SMLDefaults valueForKey:@"LiveUpdatePreviewDelay"] floatValue] target:self selector:@selector(liveUpdatePreviewTimerSelector:) userInfo:textView repeats:NO];
+ liveUpdatePreviewTimer = [NSTimer scheduledTimerWithTimeInterval:[[SMLDefaults valueForKey:@"LiveUpdatePreviewDelay"] doubleValue] target:self selector:@selector(liveUpdatePreviewTimerSelector:) userInfo:textView repeats:NO];
}
[[document valueForKey:@"lineNumbers"] updateLineNumbersCheckWidth:NO recolour:NO];
@@ -1216,7 +1216,7 @@ - (void)textViewDidChangeSelection:(NSNotification *)aNotification
}
-- (NSArray *)textView:theTextView completions:(NSArray *)words forPartialWordRange:(NSRange)charRange indexOfSelectedItem:(int *)index
+- (NSArray *)textView:theTextView completions:(NSArray *)words forPartialWordRange:(NSRange)charRange indexOfSelectedItem:(NSInteger *)index
{
if ([keywordsAndAutocompleteWords count] == 0) {
if ([[SMLDefaults valueForKey:@"AutocompleteIncludeStandardWords"] boolValue] == NO) {
View
2 Classes/SMLTextView.m
@@ -47,7 +47,7 @@ - (void)setDefaults
[self setTabWidth];
[self setVerticallyResizable:YES];
- [self setMaxSize:NSMakeSize(FLT_MAX, FLT_MAX)];
+ [self setMaxSize:NSMakeSize(CGFLOAT_MAX, CGFLOAT_MAX)];
[self setAutoresizingMask:NSViewWidthSizable];
[self setAllowsUndo:YES];
[self setUsesFindPanel:YES];
View
8 Classes/SMLToolsMenuController.m
@@ -240,13 +240,13 @@ - (void)insertColour:(id)sender
NSColor *colour = [[sender color] colorUsingColorSpaceName:NSCalibratedRGBColorSpace];
- NSInteger red = (NSInteger)([colour redComponent] * 255);
- NSInteger green = (NSInteger)([colour greenComponent] * 255);
- NSInteger blue = (NSInteger)([colour blueComponent] * 255);
+ NSUInteger red = (NSUInteger)([colour redComponent] * 255);
+ NSUInteger green = (NSUInteger)([colour greenComponent] * 255);
+ NSUInteger blue = (NSUInteger)([colour blueComponent] * 255);
NSString *insertString;
if ([[SMLDefaults valueForKey:@"UseRGBRatherThanHexWhenInsertingColourValues"] boolValue] == YES) {
- insertString = [NSString stringWithFormat:@"rgb(%i,%i,%i)", red, green, blue];
+ insertString = [NSString stringWithFormat:@"rgb(%lu,%lu,%lu)", red, green, blue];
} else {
insertString = [[NSString stringWithFormat:@"#%02x%02x%02x", red, green, blue] uppercaseString];
}
View
2 Classes/SMLVariousPerformer.m
@@ -551,7 +551,7 @@ - (void)setNameAndPathForDocument:(id)document path:(NSString *)path
if (untitledNumber == 1) {
name = [NSString stringWithString:untitledName];
} else {
- name = [NSString stringWithFormat:@"%@ %d", untitledName, untitledNumber];
+ name = [NSString stringWithFormat:@"%@ %ld", untitledName, untitledNumber];
}
untitledNumber++;
[document setValue:name forKey:@"nameWithPath"];
View
6 Classes/SMLViewMenuController.m
@@ -150,7 +150,7 @@ - (IBAction)lineWrapTextAction:(id)sender
}
NSRange selectedRange = [textView selectedRange];
if ([[document valueForKey:@"isLineWrapped"] boolValue] == YES) {
- [[textView textContainer] setContainerSize:NSMakeSize(FLT_MAX, FLT_MAX)];
+ [[textView textContainer] setContainerSize:NSMakeSize(CGFLOAT_MAX, CGFLOAT_MAX)];
[[textView textContainer] setWidthTracksTextView:NO];
[textView setHorizontallyResizable:YES];
[textScrollView setHasHorizontalScroller:YES];
@@ -159,7 +159,7 @@ - (IBAction)lineWrapTextAction:(id)sender
[textScrollView setHasHorizontalScroller:NO];
[textView setString:@""];
[[textView textContainer] setWidthTracksTextView:YES];
- [[textView textContainer] setContainerSize:NSMakeSize([textScrollView contentSize].width, FLT_MAX)];
+ [[textView textContainer] setContainerSize:NSMakeSize([textScrollView contentSize].width, CGFLOAT_MAX)];
[textView setString:string]; // To reflow/rewrap the text
[textView setHorizontallyResizable:NO];
}
@@ -442,7 +442,7 @@ - (IBAction)showDocumentsViewAction:(id)sender
if ([[[splitView subviews] objectAtIndex:0] frame].size.width != 0.0) {
[self performCollapseDocumentsView];
} else {
- CGFloat newFraction = [[[SMLCurrentProject valueForKey:@"project"] valueForKey:@"dividerPosition"] floatValue];
+ CGFloat newFraction = [[[SMLCurrentProject valueForKey:@"project"] valueForKey:@"dividerPosition"] doubleValue];
if (newFraction == 0.0) { // If it was hidden from the beginning there's no last value to return to...
newFraction = 0.2;
}
View
BIN Czech.lproj/Localizable.strings
Binary file not shown.
View
BIN Dutch.lproj/Localizable.strings
Binary file not shown.
View
BIN English.lproj/Localizable.strings
Binary file not shown.
View
497 English.lproj/SMLCommandResult.xib
@@ -1,497 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.02">
- <data>
- <int key="IBDocument.SystemTarget">1050</int>
- <string key="IBDocument.SystemVersion">9C31</string>
- <string key="IBDocument.InterfaceBuilderVersion">644</string>
- <string key="IBDocument.AppKitVersion">949.26</string>
- <string key="IBDocument.HIToolboxVersion">352.00</string>
- <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <integer value="5"/>
- </object>
- <object class="NSArray" key="IBDocument.PluginDependencies">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- </object>
- <object class="NSMutableArray" key="IBDocument.RootObjects" id="209516182">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSCustomObject" id="397872329">
- <string key="NSClassName">SMLExtraInterfaceController</string>
- </object>
- <object class="NSCustomObject" id="882225286">
- <string key="NSClassName">FirstResponder</string>
- </object>
- <object class="NSCustomObject" id="1005608881">
- <string key="NSClassName">NSApplication</string>
- </object>
- <object class="NSWindowTemplate" id="546794906">
- <int key="NSWindowStyleMask">15</int>
- <int key="NSWindowBacking">2</int>
- <string key="NSWindowRect">{{196, 367}, {406, 297}}</string>
- <int key="NSWTFlags">1886912512</int>
- <string type="base64-UTF8" key="NSWindowTitle">Q29tbWFuZCBSZXN1bHQgLSBTbXVsdHJvbiA8ZG8gbm90IGxvY2FsaXNlPg</string>
- <string key="NSWindowClass">NSPanel</string>
- <object class="NSMutableString" key="NSViewClass">
- <characters key="NS.bytes">View</characters>
- </object>
- <string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string>
- <string key="NSWindowContentMinSize">{213, 107}</string>
- <object class="NSView" key="NSWindowView" id="881111535">
- <reference key="NSNextResponder"/>
- <int key="NSvFlags">256</int>
- <object class="NSMutableArray" key="NSSubviews">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSScrollView" id="799687458">
- <reference key="NSNextResponder" ref="881111535"/>
- <int key="NSvFlags">274</int>
- <object class="NSMutableArray" key="NSSubviews">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSClipView" id="707031950">
- <reference key="NSNextResponder" ref="799687458"/>
- <int key="NSvFlags">2304</int>
- <object class="NSMutableArray" key="NSSubviews">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSTextView" id="510426192">
- <reference key="NSNextResponder" ref="707031950"/>
- <int key="NSvFlags">2322</int>
- <object class="NSMutableSet" key="NSDragTypes">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMutableArray" key="set.sortedObjects">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>Apple HTML pasteboard type</string>
- <string>Apple PDF pasteboard type</string>
- <string>Apple PICT pasteboard type</string>
- <string>Apple PNG pasteboard type</string>
- <string>Apple URL pasteboard type</string>
- <string>CorePasteboardFlavorType 0x6D6F6F76</string>
- <string>CorePasteboardFlavorType 0x75726C20</string>
- <string>NSColor pasteboard type</string>
- <string>NSFilenamesPboardType</string>
- <string>NSStringPboardType</string>
- <string>NeXT Encapsulated PostScript v1.2 pasteboard type</string>
- <string>NeXT RTFD pasteboard type</string>
- <string>NeXT Rich Text Format v1.0 pasteboard type</string>
- <string>NeXT TIFF v4.0 pasteboard type</string>
- <string>NeXT font pasteboard type</string>
- <string>NeXT ruler pasteboard type</string>
- <string>WebURLsWithTitlesPboardType</string>
- </object>
- </object>
- <string key="NSFrameSize">{404, 14}</string>
- <reference key="NSSuperview" ref="707031950"/>
- <object class="NSTextContainer" key="NSTextContainer" id="578843971">
- <object class="NSLayoutManager" key="NSLayoutManager">
- <object class="NSTextStorage" key="NSTextStorage">
- <object class="NSMutableString" key="NSString">
- <characters key="NS.bytes"/>
- </object>
- <nil key="NSDelegate"/>
- </object>
- <object class="NSMutableArray" key="NSTextContainers">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="578843971"/>
- </object>
- <int key="NSLMFlags">6</int>
- <nil key="NSDelegate"/>
- </object>
- <reference key="NSTextView" ref="510426192"/>
- <double key="NSWidth">4.040000e+02</double>
- <int key="NSTCFlags">1</int>
- </object>
- <object class="NSTextViewSharedData" key="NSSharedData">
- <int key="NSFlags">11107</int>
- <object class="NSColor" key="NSBackgroundColor" id="536496700">
- <int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MQA</bytes>
- </object>
- <object class="NSColor" key="NSInsertionColor" id="1014236662">
- <int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MAA</bytes>
- </object>
- <object class="NSDictionary" key="NSSelectedAttributes">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMutableArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>NSBackgroundColor</string>
- <string>NSColor</string>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSColor">
- <int key="NSColorSpace">6</int>
- <string key="NSCatalogName">System</string>
- <string key="NSColorName">selectedTextBackgroundColor</string>
- <object class="NSColor" key="NSColor">
- <int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MC42NjY2NjY2OQA</bytes>
- </object>
- </object>
- <object class="NSColor">
- <int key="NSColorSpace">6</int>
- <string key="NSCatalogName">System</string>
- <string key="NSColorName">selectedTextColor</string>
- <reference key="NSColor" ref="1014236662"/>
- </object>
- </object>
- </object>
- <nil key="NSMarkedAttributes"/>
- <object class="NSDictionary" key="NSLinkAttributes">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMutableArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>NSColor</string>
- <string>NSUnderline</string>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSColor">
- <int key="NSColorSpace">1</int>
- <bytes key="NSRGB">MCAwIDEAA</bytes>
- </object>
- <integer value="1"/>
- </object>
- </object>
- <nil key="NSDefaultParagraphStyle"/>
- </object>
- <int key="NSTVFlags">6</int>
- <string key="NSMaxSize">{468, 1e+07}</string>
- <string key="NSMinize">{114, 0}</string>
- <nil key="NSDelegate"/>
- </object>
- </object>
- <string key="NSFrame">{{1, 1}, {404, 296}}</string>
- <reference key="NSSuperview" ref="799687458"/>
- <reference key="NSNextKeyView" ref="510426192"/>
- <reference key="NSDocView" ref="510426192"/>
- <reference key="NSBGColor" ref="536496700"/>
- <object class="NSCursor" key="NSCursor">
- <string key="NSHotSpot">{4, -5}</string>
- <int key="NSCursorType">1</int>
- </object>
- <int key="NScvFlags">4</int>
- </object>
- <object class="NSScroller" id="109492305">
- <reference key="NSNextResponder" ref="799687458"/>
- <int key="NSvFlags">-2147483392</int>
- <string key="NSFrame">{{-30, 1}, {15, 281}}</string>
- <reference key="NSSuperview" ref="799687458"/>
- <reference key="NSTarget" ref="799687458"/>
- <string key="NSAction">_doScroller:</string>
- <double key="NSCurValue">1.000000e+00</double>
- </object>
- <object class="NSScroller" id="715515356">
- <reference key="NSNextResponder" ref="799687458"/>
- <int key="NSvFlags">256</int>
- <string key="NSFrame">{{-100, -100}, {87, 18}}</string>
- <reference key="NSSuperview" ref="799687458"/>
- <int key="NSsFlags">1</int>
- <reference key="NSTarget" ref="799687458"/>
- <string key="NSAction">_doScroller:</string>
- <double key="NSCurValue">1.000000e+00</double>
- <double key="NSPercent">9.456522e-01</double>
- </object>
- </object>
- <string key="NSFrameSize">{406, 298}</string>
- <reference key="NSSuperview" ref="881111535"/>
- <reference key="NSNextKeyView" ref="707031950"/>
- <int key="NSsFlags">530</int>
- <reference key="NSVScroller" ref="109492305"/>
- <reference key="NSHScroller" ref="715515356"/>
- <reference key="NSContentView" ref="707031950"/>
- </object>
- </object>
- <string key="NSFrameSize">{406, 297}</string>
- <reference key="NSSuperview"/>
- </object>
- <string key="NSScreenRect">{{0, 0}, {1440, 878}}</string>
- <string key="NSMinSize">{213, 129}</string>
- <string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string>
- <string key="NSFrameAutosaveName">CommandResultWindow</string>
- </object>
- <object class="NSUserDefaultsController" id="627672282">
- <bool key="NSSharedInstance">YES</bool>
- </object>
- </object>
- <object class="IBObjectContainer" key="IBDocument.Objects">
- <object class="NSMutableArray" key="connectionRecords">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBConnectionRecord">
- <object class="IBBindingConnection" key="connection">
- <string key="label">font: values.TextFont</string>
- <reference key="source" ref="510426192"/>
- <reference key="destination" ref="627672282"/>
- <object class="NSNibBindingConnector" key="connector">
- <reference key="NSSource" ref="510426192"/>
- <reference key="NSDestination" ref="627672282"/>
- <string key="NSLabel">font: values.TextFont</string>
- <string key="NSBinding">font</string>
- <string key="NSKeyPath">values.TextFont</string>
- <object class="NSDictionary" key="NSOptions">
- <string key="NS.key.0">NSValueTransformerName</string>
- <string key="NS.object.0">NSUnarchiveFromData</string>
- </object>
- <int key="NSNibBindingConnectorVersion">2</int>
- </object>
- </object>
- <int key="connectionID">12</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">commandResultWindow</string>
- <reference key="source" ref="397872329"/>
- <reference key="destination" ref="546794906"/>
- </object>
- <int key="connectionID">13</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">commandResultTextView</string>
- <reference key="source" ref="397872329"/>
- <reference key="destination" ref="510426192"/>
- </object>
- <int key="connectionID">14</int>
- </object>
- </object>
- <object class="IBMutableOrderedSet" key="objectRecords">
- <object class="NSArray" key="orderedObjects">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBObjectRecord">
- <int key="objectID">0</int>
- <object class="NSArray" key="object" id="0">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- <reference key="children" ref="209516182"/>
- <nil key="parent"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">-2</int>
- <reference key="object" ref="397872329"/>
- <reference key="parent" ref="0"/>
- <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">-1</int>
- <reference key="object" ref="882225286"/>
- <reference key="parent" ref="0"/>
- <string key="objectName">First Responder</string>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">5</int>
- <reference key="object" ref="546794906"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="881111535"/>
- </object>
- <reference key="parent" ref="0"/>
- <string key="objectName">CommandResultWindow</string>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">6</int>
- <reference key="object" ref="881111535"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="799687458"/>
- </object>
- <reference key="parent" ref="546794906"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">7</int>
- <reference key="object" ref="799687458"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="510426192"/>
- <reference ref="109492305"/>
- <reference ref="715515356"/>
- </object>
- <reference key="parent" ref="881111535"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">8</int>
- <reference key="object" ref="510426192"/>
- <reference key="parent" ref="799687458"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">9</int>
- <reference key="object" ref="627672282"/>
- <reference key="parent" ref="0"/>
- <string key="objectName">Shared Defaults</string>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">16</int>
- <reference key="object" ref="109492305"/>
- <reference key="parent" ref="799687458"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">17</int>
- <reference key="object" ref="715515356"/>
- <reference key="parent" ref="799687458"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">-3</int>
- <reference key="object" ref="1005608881"/>
- <reference key="parent" ref="0"/>
- <string key="objectName">Application</string>
- </object>
- </object>
- </object>
- <object class="NSMutableDictionary" key="flattenedProperties">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMutableArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>-1.IBPluginDependency</string>
- <string>-2.IBPluginDependency</string>
- <string>16.IBShouldRemoveOnLegacySave</string>
- <string>17.IBShouldRemoveOnLegacySave</string>
- <string>5.IBEditorWindowLastContentRect</string>
- <string>5.IBPluginDependency</string>
- <string>5.IBWindowTemplateEditedContentRect</string>
- <string>5.ImportedFromIB2</string>
- <string>5.lastResizeAction</string>
- <string>5.windowTemplate.hasMaxSize</string>
- <string>5.windowTemplate.hasMinSize</string>
- <string>5.windowTemplate.maxSize</string>
- <string>5.windowTemplate.minSize</string>
- <string>6.IBPluginDependency</string>
- <string>6.ImportedFromIB2</string>
- <string>7.IBPluginDependency</string>
- <string>7.ImportedFromIB2</string>
- <string>8.IBPluginDependency</string>
- <string>8.ImportedFromIB2</string>
- <string>9.IBPluginDependency</string>
- <string>9.ImportedFromIB2</string>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1" id="5"/>
- <reference ref="5"/>
- <string>{{196, 367}, {406, 297}}</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{196, 367}, {406, 297}}</string>
- <reference ref="5"/>
- <object class="NSDictionary">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMutableArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>IBResizeActionFinalFrame</string>
- <string>IBResizeActionInitialFrame</string>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>{{196, 367}, {406, 297}}</string>
- <string>{{196, 367}, {406, 297}}</string>
- </object>
- </object>
- <reference ref="5"/>
- <reference ref="5"/>
- <string>{3.40282e+38, 3.40282e+38}</string>
- <string>{213, 107}</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <reference ref="5"/>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <reference ref="5"/>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <reference ref="5"/>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <reference ref="5"/>
- </object>
- </object>
- <object class="NSMutableDictionary" key="unlocalizedProperties">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- </object>
- <nil key="activeLocalization"/>
- <object class="NSMutableDictionary" key="localizations">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- </object>
- <nil key="sourceID"/>
- <int key="maxID">17</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>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBUserSource</string>
- <string key="minorKey"/>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">SMLExtraInterfaceController</string>
- <string key="superclassName">NSObject</string>
- <object class="NSMutableDictionary" key="actions">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMutableArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>cancelButtonEntabDetabGoToLineWindowsAction:</string>
- <string>detabButtonDetabWindowAction:</string>
- <string>entabButtonEntabWindowAction:</string>
- <string>goButtonGoToLineWindowAction:</string>
- <string>setPrintFontAction:</string>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>id</string>
- <string>id</string>
- <string>id</string>
- <string>id</string>
- <string>id</string>
- </object>
- </object>
- <object class="NSMutableDictionary" key="outlets">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMutableArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>commandResultTextView</string>
- <string>commandResultWindow</string>
- <string>detabWindow</string>
- <string>entabWindow</string>
- <string>goToLineWindow</string>
- <string>lineTextFieldGoToLineWindow</string>
- <string>openPanelAccessoryView</string>
- <string>openPanelEncodingsPopUp</string>
- <string>printAccessoryView</string>
- <string>spacesTextFieldDetabWindow</string>
- <string>spacesTextFieldEntabWindow</string>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>NSTextView</string>
- <string>NSWindow</string>
- <string>NSWindow</string>
- <string>NSWindow</string>
- <string>NSWindow</string>
- <string>NSTextField</string>
- <string>NSView</string>
- <string>NSPopUpButton</string>
- <string>NSView</string>
- <string>NSTextField</string>
- <string>NSTextField</string>
- </object>
- </object>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBUserSource</string>
- <string key="minorKey"/>
- </object>
- </object>
- </object>
- </object>
- <int key="IBDocument.localizationMode">0</int>
- <nil key="IBDocument.LastKnownRelativeProjectPath"/>
- <int key="IBDocument.defaultPropertyAccessControl">3</int>
- </data>
-</archive>
View
265 English.lproj/SMLPreferences.xib
@@ -1,265 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.02">
- <data>
- <int key="IBDocument.SystemTarget">1050</int>
- <string key="IBDocument.SystemVersion">9C31</string>
- <string key="IBDocument.InterfaceBuilderVersion">644</string>
- <string key="IBDocument.AppKitVersion">949.26</string>
- <string key="IBDocument.HIToolboxVersion">352.00</string>
- <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <integer value="5"/>
- </object>
- <object class="NSArray" key="IBDocument.PluginDependencies">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- </object>
- <object class="NSMutableArray" key="IBDocument.RootObjects" id="256369042">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSCustomObject" id="180822203">
- <string key="NSClassName">SMLPreferencesController</string>
- </object>
- <object class="NSCustomObject" id="560372331">
- <string key="NSClassName">FirstResponder</string>
- </object>
- <object class="NSCustomObject" id="199671610">
- <string key="NSClassName">NSApplication</string>
- </object>
- <object class="NSWindowTemplate" id="745917126">
- <int key="NSWindowStyleMask">4103</int>
- <int key="NSWindowBacking">2</int>
- <string key="NSWindowRect">{{63, 183}, {600, 425}}</string>
- <int key="NSWTFlags">1886912512</int>
- <string type="base64-UTF8" key="NSWindowTitle">UHJlZmVyZW5jZXMgLSBTbXVsdHJvbiA8ZG8gbm90IGxvY2FsaXNlPg</string>
- <string key="NSWindowClass">NSPanel</string>
- <object class="NSMutableString" key="NSViewClass">
- <characters key="NS.bytes">View</characters>
- </object>
- <string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string>
- <string key="NSWindowContentMinSize">{233.354, 107}</string>
- <object class="NSView" key="NSWindowView" id="638226351">
- <reference key="NSNextResponder"/>
- <int key="NSvFlags">256</int>
- <string key="NSFrameSize">{600, 425}</string>
- <reference key="NSSuperview"/>
- </object>
- <string key="NSScreenRect">{{0, 0}, {1440, 878}}</string>
- <string key="NSMinSize">{233.354, 129}</string>
- <string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string>
- <string key="NSFrameAutosaveName">PreferencesWindow</string>
- </object>
- </object>
- <object class="IBObjectContainer" key="IBDocument.Objects">
- <object class="NSMutableArray" key="connectionRecords">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">preferencesWindow</string>
- <reference key="source" ref="180822203"/>
- <reference key="destination" ref="745917126"/>
- </object>
- <int key="connectionID">517</int>
- </object>
- </object>
- <object class="IBMutableOrderedSet" key="objectRecords">
- <object class="NSArray" key="orderedObjects">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBObjectRecord">
- <int key="objectID">0</int>
- <object class="NSArray" key="object" id="0">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- <reference key="children" ref="256369042"/>
- <nil key="parent"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">-2</int>
- <reference key="object" ref="180822203"/>
- <reference key="parent" ref="0"/>
- <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">-1</int>
- <reference key="object" ref="560372331"/>
- <reference key="parent" ref="0"/>
- <string key="objectName">First Responder</string>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">5</int>
- <reference key="object" ref="745917126"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="638226351"/>
- </object>
- <reference key="parent" ref="0"/>
- <string key="objectName">PreferencesWindow</string>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">6</int>
- <reference key="object" ref="638226351"/>
- <reference key="parent" ref="745917126"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">-3</int>
- <reference key="object" ref="199671610"/>
- <reference key="parent" ref="0"/>
- <string key="objectName">Application</string>
- </object>
- </object>
- </object>
- <object class="NSMutableDictionary" key="flattenedProperties">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMutableArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>-1.IBPluginDependency</string>
- <string>-2.IBPluginDependency</string>
- <string>5.IBEditorWindowLastContentRect</string>
- <string>5.IBPluginDependency</string>
- <string>5.IBWindowTemplateEditedContentRect</string>
- <string>5.ImportedFromIB2</string>
- <string>5.lastResizeAction</string>
- <string>5.windowTemplate.hasMaxSize</string>
- <string>5.windowTemplate.hasMinSize</string>
- <string>5.windowTemplate.maxSize</string>
- <string>5.windowTemplate.minSize</string>
- <string>6.IBPluginDependency</string>
- <string>6.ImportedFromIB2</string>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{63, 183}, {600, 425}}</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{63, 183}, {600, 425}}</string>
- <integer value="1" id="5"/>
- <object class="NSDictionary">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMutableArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>IBResizeActionFinalFrame</string>
- <string>IBResizeActionInitialFrame</string>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>{{63, 183}, {600, 425}}</string>
- <string>{{63, 183}, {600, 425}}</string>
- </object>
- </object>
- <reference ref="5"/>
- <reference ref="5"/>
- <string>{3.40282e+38, 3.40282e+38}</string>
- <string>{233.354, 107}</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <reference ref="5"/>
- </object>
- </object>
- <object class="NSMutableDictionary" key="unlocalizedProperties">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- </object>
- <nil key="activeLocalization"/>
- <object class="NSMutableDictionary" key="localizations">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- </object>
- <nil key="sourceID"/>
- <int key="maxID">519</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>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBUserSource</string>
- <string key="minorKey"/>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">SMLPreferencesController</string>
- <string key="superclassName">NSObject</string>
- <object class="NSMutableDictionary" key="actions">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMutableArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>advancedHelpAction:</string>
- <string>appearanceHelpAction:</string>
- <string>checkNowAction:</string>
- <string>generalHelpAction:</string>
- <string>openSaveHelpAction:</string>
- <string>openSetFolderAction:</string>
- <string>revertToStandardSettingsAction:</string>
- <string>saveAsSetFolderAction:</string>
- <string>setFontAction:</string>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>id</string>
- <string>id</string>
- <string>id</string>
- <string>id</string>
- <string>id</string>
- <string>id</string>
- <string>id</string>
- <string>id</string>
- <string>id</string>
- </object>
- </object>
- <object class="NSMutableDictionary" key="outlets">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMutableArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>advancedView</string>
- <string>appearanceView</string>
- <string>encodingsArrayController</string>
- <string>encodingsPopUp</string>
- <string>encodingsTableView</string>
- <string>generalView</string>
- <string>lastSavedFormatPopUp</string>
- <string>noUpdateAvailableTextField</string>
- <string>openSaveView</string>
- <string>preferencesWindow</string>
- <string>syntaxColouringPopUp</string>
- <string>syntaxDefinitionsArrayController</string>
- <string>syntaxDefinitionsTableView</string>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>NSView</string>
- <string>NSView</string>
- <string>NSArrayController</string>
- <string>NSPopUpButton</string>
- <string>NSTableView</string>
- <string>NSView</string>
- <string>NSPopUpButton</string>
- <string>NSTextField</string>
- <string>NSView</string>
- <string>NSWindow</string>
- <string>NSPopUpButton</string>
- <string>NSArrayController</string>
- <string>NSTableView</string>
- </object>
- </object>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBUserSource</string>
- <string key="minorKey"/>
- </object>
- </object>
- </object>
- </object>
- <int key="IBDocument.localizationMode">0</int>
- <nil key="IBDocument.LastKnownRelativeProjectPath"/>
- <int key="IBDocument.defaultPropertyAccessControl">3</int>
- </data>
-</archive>
View
1,757 English.lproj/SMLProject.xib
@@ -1,1757 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.02">
- <data>
- <int key="IBDocument.SystemTarget">1050</int>
- <string key="IBDocument.SystemVersion">9C7010</string>
- <string key="IBDocument.InterfaceBuilderVersion">649</string>
- <string key="IBDocument.AppKitVersion">949.26</string>
- <string key="IBDocument.HIToolboxVersion">352.00</string>
- <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <integer value="188"/>
- <integer value="6"/>
- <integer value="208"/>
- <integer value="180"/>
- <integer value="215"/>
- <integer value="230"/>
- </object>
- <object class="NSArray" key="IBDocument.PluginDependencies">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- </object>
- <object class="NSMutableArray" key="IBDocument.RootObjects" id="2679185">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSCustomObject" id="866580399">
- <string key="NSClassName">SMLProject</string>
- </object>
- <object class="NSCustomObject" id="321370642">
- <string key="NSClassName">FirstResponder</string>
- </object>
- <object class="NSCustomObject" id="189811125">
- <string key="NSClassName">NSApplication</string>
- </object>
- <object class="NSWindowTemplate" id="572083669">
- <int key="NSWindowStyleMask">4111</int>
- <int key="NSWindowBacking">2</int>
- <string key="NSWindowRect">{{612, 390}, {593, 544}}</string>
- <int key="NSWTFlags">1886912512</int>
- <string key="NSWindowTitle">Smultron</string>
- <string key="NSWindowClass">SMLProjectWindow</string>
- <string key="NSViewClass">View</string>
- <string key="NSWindowContentMinSize">{94, 86}</string>
- <object class="NSView" key="NSWindowView" id="370863753">
- <reference key="NSNextResponder"/>
- <int key="NSvFlags">256</int>
- <object class="NSMutableArray" key="NSSubviews">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSTabView" id="939709936">
- <reference key="NSNextResponder" ref="370863753"/>
- <int key="NSvFlags">266</int>
- <string key="NSFrame">{{0, 524}, {517, 22}}</string>
- <reference key="NSSuperview" ref="370863753"/>
- <object class="NSMutableArray" key="NSTabViewItems">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSTabViewItem" id="976569283">
- <object class="NSMutableString" key="NSIdentifier">
- <characters key="NS.bytes">1</characters>
- </object>
- <object class="NSView" key="NSView" id="873542100">
- <reference key="NSNextResponder" ref="939709936"/>
- <int key="NSvFlags">256</int>
- <string key="NSFrame">{{10, 19}, {497, 0}}</string>
- <reference key="NSSuperview" ref="939709936"/>
- </object>
- <string key="NSLabel">Tab</string>
- <object class="NSColor" key="NSColor" id="34326011">
- <int key="NSColorSpace">6</int>
- <string key="NSCatalogName">System</string>
- <string key="NSColorName">controlColor</string>
- <object class="NSColor" key="NSColor" id="863586664">
- <int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MC42NjY2NjY2OQA</bytes>
- </object>
- </object>
- <reference key="NSTabView" ref="939709936"/>
- </object>
- </object>
- <reference key="NSSelectedTabViewItem" ref="976569283"/>
- <object class="NSFont" key="NSFont" id="22">
- <string key="NSName">LucidaGrande</string>
- <double key="NSSize">9.000000e+00</double>
- <int key="NSfFlags">3614</int>
- </object>
- <int key="NSTvFlags">268435456</int>
- <bool key="NSAllowTruncatedLabels">YES</bool>
- <bool key="NSDrawsBackground">YES</bool>
- <object class="NSMutableArray" key="NSSubviews">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="873542100"/>
- </object>
- </object>
- <object class="NSCustomView" id="547319627">
- <reference key="NSNextResponder" ref="370863753"/>
- <int key="NSvFlags">266</int>
- <string key="NSFrame">{{0, 521}, {593, 23}}</string>
- <reference key="NSSuperview" ref="370863753"/>
- <string key="NSClassName">PSMTabBarControl</string>
- <string key="NSExtension">NSControl</string>
- </object>
- <object class="NSTextField" id="699465031">
- <reference key="NSNextResponder" ref="370863753"/>
- <int key="NSvFlags">290</int>
- <string key="NSFrame">{{0, -4}, {593, 22}}</string>
- <reference key="NSSuperview" ref="370863753"/>
- <bool key="NSEnabled">YES</bool>
- <object class="NSTextFieldCell" key="NSCell" id="756016080">
- <int key="NSCellFlags">67239424</int>
- <int key="NSCellFlags2">138444800</int>
- <string key="NSContents"/>
- <object class="NSFont" key="NSSupport" id="155581952">
- <string key="NSName">LucidaGrande</string>
- <double key="NSSize">1.100000e+01</double>
- <int key="NSfFlags">16</int>
- </object>
- <reference key="NSControlView" ref="699465031"/>
- <bool key="NSDrawsBackground">YES</bool>
- <int key="NSTextBezelStyle">1</int>
- <reference key="NSBackgroundColor" ref="34326011"/>
- <object class="NSColor" key="NSTextColor" id="202602548">
- <int key="NSColorSpace">6</int>
- <string key="NSCatalogName">System</string>
- <string key="NSColorName">controlTextColor</string>
- <object class="NSColor" key="NSColor" id="199437304">
- <int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MAA</bytes>
- </object>
- </object>
- </object>
- </object>
- <object class="NSSplitView" id="336427361">
- <reference key="NSNextResponder" ref="370863753"/>
- <int key="NSvFlags">274</int>
- <object class="NSMutableArray" key="NSSubviews">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSCustomView" id="832530081">
- <reference key="NSNextResponder" ref="336427361"/>
- <int key="NSvFlags">4370</int>
- <string key="NSFrameSize">{236, 500}</string>
- <reference key="NSSuperview" ref="336427361"/>
- <string key="NSClassName">NSView</string>
- <string key="NSExtension">NSResponder</string>
- </object>
- <object class="NSSplitView" id="333130275">
- <reference key="NSNextResponder" ref="336427361"/>
- <int key="NSvFlags">256</int>
- <object class="NSMutableArray" key="NSSubviews">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSCustomView" id="738304265">
- <reference key="NSNextResponder" ref="333130275"/>
- <int key="NSvFlags">274</int>
- <string key="NSFrameSize">{358, 222}</string>
- <reference key="NSSuperview" ref="333130275"/>
- <string key="NSClassName">SMLDummyView</string>
- <string key="NSExtension">NSView</string>
- </object>
- <object class="NSCustomView" id="656423240">
- <reference key="NSNextResponder" ref="333130275"/>
- <int key="NSvFlags">274</int>
- <string key="NSFrame">{{0, 231}, {358, 269}}</string>
- <reference key="NSSuperview" ref="333130275"/>
- <string key="NSClassName">SMLDummyView</string>
- <string key="NSExtension">NSView</string>
- </object>
- </object>
- <string key="NSFrame">{{237, 0}, {358, 500}}</string>
- <reference key="NSSuperview" ref="336427361"/>
- <string key="NSAutosaveName">ContentSplitView</string>
- </object>
- </object>
- <string key="NSFrame">{{-1, 22}, {595, 500}}</string>
- <reference key="NSSuperview" ref="370863753"/>
- <bool key="NSIsVertical">YES</bool>
- <int key="NSDividerStyle">2</int>
- <string key="NSAutosaveName">ProjectSplitView</string>
- </object>
- </object>
- <string key="NSFrameSize">{593, 544}</string>
- <reference key="NSSuperview"/>
- </object>
- <string key="NSScreenRect">{{0, 0}, {1680, 1028}}</string>
- <string key="NSMinSize">{94, 108}</string>
- <string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string>
- <string key="NSFrameAutosaveName">SmultronProjectWindow</string>
- </object>
- <object class="NSArrayController" id="535702717">
- <object class="NSMutableArray" key="NSDeclaredKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>name</string>
- </object>
- <bool key="NSEditable">YES</bool>
- <bool key="NSAutomaticallyPreparesContent">YES</bool>
- <object class="_NSManagedProxy" key="_NSManagedProxy">
- <string key="NSEntityName">Document</string>
- </object>
- <bool key="_NSIsUsingManagedProxy">YES</bool>
- <bool key="NSAvoidsEmptySelection">YES</bool>
- <bool key="NSPreservesSelection">YES</bool>
- <bool key="NSSelectsInsertedObjects">YES</bool>
- <bool key="NSFilterRestrictsInsertion">YES</bool>
- </object>
- <object class="NSObjectController" id="294968584">
- <object class="NSMutableArray" key="NSDeclaredKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>documents</string>
- <string>project</string>
- <string>projects</string>
- <string>document</string>
- <string>name</string>
- </object>
- <bool key="NSEditable">YES</bool>
- <bool key="NSAutomaticallyPreparesContent">YES</bool>
- <object class="_NSManagedProxy" key="_NSManagedProxy">
- <string key="NSEntityName">Project</string>
- </object>
- <bool key="_NSIsUsingManagedProxy">YES</bool>
- </object>
- <object class="NSCustomView" id="657539376">
- <reference key="NSNextResponder"/>
- <int key="NSvFlags">258</int>
- <object class="NSMutableArray" key="NSSubviews">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSPopUpButton" id="455516354">
- <reference key="NSNextResponder" ref="657539376"/>
- <int key="NSvFlags">261</int>
- <string key="NSFrame">{{111, 3}, {196, 15}}</string>
- <reference key="NSSuperview" ref="657539376"/>
- <bool key="NSEnabled">YES</bool>
- <object class="NSPopUpButtonCell" key="NSCell" id="634916153">
- <int key="NSCellFlags">-2076049856</int>
- <int key="NSCellFlags2">264192</int>
- <reference key="NSSupport" ref="22"/>
- <reference key="NSControlView" ref="455516354"/>
- <int key="NSButtonFlags">109199615</int>
- <int key="NSButtonFlags2">1</int>
- <object class="NSFont" key="NSAlternateImage">
- <string key="NSName">LucidaGrande</string>
- <double key="NSSize">9.000000e+00</double>
- <int key="NSfFlags">16</int>
- </object>
- <string key="NSAlternateContents"/>
- <object class="NSMutableString" key="NSKeyEquivalent">
- <characters key="NS.bytes"/>
- </object>
- <int key="NSPeriodicDelay">400</int>
- <int key="NSPeriodicInterval">75</int>
- <object class="NSMenuItem" key="NSMenuItem" id="15721619">
- <reference key="NSMenu" ref="187861485"/>
- <string type="base64-UTF8" key="NSTitle">PGRvIG5vdCBsb2NhbGlzZT4</string>
- <string key="NSKeyEquiv"/>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <int key="NSState">1</int>
- <object class="NSCustomResource" key="NSOnImage" id="1044939357">
- <string key="NSClassName">NSImage</string>
- <string key="NSResourceName">NSMenuCheckmark</string>
- </object>
- <object class="NSCustomResource" key="NSMixedImage" id="611097307">
- <string key="NSClassName">NSImage</string>
- <string key="NSResourceName">NSMenuMixedState</string>
- </object>
- <string key="NSAction">_popUpItemAction:</string>
- <reference key="NSTarget" ref="634916153"/>
- </object>
- <bool key="NSMenuItemRespectAlignment">YES</bool>
- <object class="NSMenu" key="NSMenu" id="187861485">
- <object class="NSMutableString" key="NSTitle">
- <characters key="NS.bytes">OtherViews</characters>
- </object>
- <object class="NSMutableArray" key="NSMenuItems">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="15721619"/>
- </object>
- </object>
- <int key="NSPreferredEdge">3</int>
- <bool key="NSUsesItemFromMenu">YES</bool>
- <bool key="NSAltersState">YES</bool>
- <int key="NSArrowPosition">1</int>
- </object>
- </object>
- </object>
- <string key="NSFrameSize">{418, 22}</string>
- <reference key="NSSuperview"/>
- <string key="NSClassName">SMLGradientBackgroundView</string>
- <string key="NSExtension">NSView</string>
- </object>
- <object class="NSCustomView" id="40329166">
- <reference key="NSNextResponder"/>
- <int key="NSvFlags">274</int>
- <object class="NSMutableArray" key="NSSubviews">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSScrollView" id="988251235">
- <reference key="NSNextResponder" ref="40329166"/>
- <int key="NSvFlags">274</int>
- <object class="NSMutableArray" key="NSSubviews">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSClipView" id="243928499">
- <reference key="NSNextResponder" ref="988251235"/>
- <int key="NSvFlags">2304</int>
- <object class="NSMutableArray" key="NSSubviews">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSTableView" id="796628738">
- <reference key="NSNextResponder" ref="243928499"/>
- <int key="NSvFlags">4370</int>
- <string key="NSFrameSize">{215, 501}</string>
- <reference key="NSSuperview" ref="243928499"/>
- <bool key="NSEnabled">YES</bool>
- <object class="_NSCornerView" key="NSCornerView">
- <nil key="NSNextResponder"/>
- <int key="NSvFlags">-2147483392</int>
- <string key="NSFrame">{{-26, 0}, {16, 17}}</string>
- </object>
- <object class="NSMutableArray" key="NSTableColumns">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSTableColumn" id="693945868">
- <string key="NSIdentifier">name</string>
- <double key="NSWidth">2.120000e+02</double>
- <double key="NSMinWidth">8.000000e+00</double>
- <double key="NSMaxWidth">1.000000e+03</double>
- <object class="NSTableHeaderCell" key="NSHeaderCell">
- <int key="NSCellFlags">75628032</int>
- <int key="NSCellFlags2">0</int>
- <