Revision: 22434
          http://sourceforge.net/p/bibdesk/svn/22434
Author:   hofman
Date:     2018-07-18 12:14:24 +0000 (Wed, 18 Jul 2018)
Log Message:
-----------
Recolor format field editor when selection changes, no need for special 
textfield subclass, only display preview for default format, as that's what we 
use for the preview

Modified Paths:
--------------
    trunk/bibdesk/BibPref_AutoFile.m
    trunk/bibdesk/BibPref_CiteKey.m
    trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj
    trunk/bibdesk/English.lproj/BibPref_AutoFile.xib
    trunk/bibdesk/English.lproj/BibPref_CiteKey.xib
    trunk/bibdesk/French.lproj/BibPref_AutoFile.xib
    trunk/bibdesk/French.lproj/BibPref_CiteKey.xib
    trunk/bibdesk/German.lproj/BibPref_AutoFile.xib
    trunk/bibdesk/German.lproj/BibPref_CiteKey.xib

Removed Paths:
-------------
    trunk/bibdesk/BDSKTextField.h
    trunk/bibdesk/BDSKTextField.m

Deleted: trunk/bibdesk/BDSKTextField.h
===================================================================
--- trunk/bibdesk/BDSKTextField.h       2018-07-18 09:46:57 UTC (rev 22433)
+++ trunk/bibdesk/BDSKTextField.h       2018-07-18 12:14:24 UTC (rev 22434)
@@ -1,49 +0,0 @@
-//
-//  BDSKTextField.h
-//  BibDesk
-//
-//  Created by Christiaan on 17/07/2018.
-/*
- This software is Copyright (c) 2018
- Christiaan Hofman. All rights reserved.
- 
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 
- - Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- 
- - Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in
- the documentation and/or other materials provided with the
- distribution.
- 
- - Neither the name of Christiaan Hofman nor the names of any
- contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
- 
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#import <Cocoa/Cocoa.h>
-
-@protocol BDSKTextFieldDelegate <NSTextFieldDelegate>
-@optional
-- (void)textFieldDidBecomeFirstResponder:(NSTextField *)textField;
-@end
-    
-@interface BDSKTextField : NSTextField
-- (id <BDSKTextFieldDelegate>)delegate;
-- (void)setDelegate:(id <BDSKTextFieldDelegate>)newDelegate;
-@end

Deleted: trunk/bibdesk/BDSKTextField.m
===================================================================
--- trunk/bibdesk/BDSKTextField.m       2018-07-18 09:46:57 UTC (rev 22433)
+++ trunk/bibdesk/BDSKTextField.m       2018-07-18 12:14:24 UTC (rev 22434)
@@ -1,55 +0,0 @@
-//
-//  BDSKTextField.m
-//  BibDesk
-//
-//  Created by Christiaan on 17/07/2018.
-/*
- This software is Copyright (c) 2018
- Christiaan Hofman. All rights reserved.
- 
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 
- - Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- 
- - Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in
- the documentation and/or other materials provided with the
- distribution.
- 
- - Neither the name of Christiaan Hofman nor the names of any
- contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
- 
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#import "BDSKTextField.h"
-
-@implementation BDSKTextField
-
-- (BOOL)becomeFirstResponder {
-    if ([super becomeFirstResponder]) {
-        if ([[self delegate] 
respondsToSelector:@selector(textFieldDidBecomeFirstResponder:)])
-            [[self delegate] textFieldDidBecomeFirstResponder:self];
-        return YES;
-    }
-    return NO;
-}
-
-- (id <BDSKTextFieldDelegate>)delegate { return (id 
<BDSKTextFieldDelegate>)[super delegate]; }
-- (void)setDelegate:(id <BDSKTextFieldDelegate>)newDelegate { [super 
setDelegate:newDelegate]; }
-
-@end

Modified: trunk/bibdesk/BibPref_AutoFile.m
===================================================================
--- trunk/bibdesk/BibPref_AutoFile.m    2018-07-18 09:46:57 UTC (rev 22433)
+++ trunk/bibdesk/BibPref_AutoFile.m    2018-07-18 12:14:24 UTC (rev 22434)
@@ -58,6 +58,7 @@
 - (void)updatePapersFolderUI;
 - (void)updateFormatPresetUI;
 - (void)updateFormatPreviewUI;
+- (void)handleFormatSelectionDidChange:(NSNotification *)notification;
 @end
 
 
@@ -99,6 +100,8 @@
        [[formatRepositoryPopUp cell] setMenuItem:[formatRepositoryPopUp 
itemAtIndex:0]];
     
     [self updateUI];
+    
+    [[NSNotificationCenter defaultCenter] addObserver:self 
selector:@selector(handleFormatSelectionDidChange:) 
name:NSTextViewDidChangeSelectionNotification object:[formatSheet 
fieldEditor:YES forObject:formatSheetField]];
 }
 
 - (void)defaultsDidRevert {
@@ -140,14 +143,12 @@
 }
 
 - (void)updateFormatPreviewUI{
-    NSString *formatString = [formatSheetField currentEditor] ? 
[formatSheetField stringValue] : [sud stringForKey:BDSKLocalFileFormatKey];
+    NSString *formatString = [sud stringForKey:BDSKLocalFileFormatKey];
        NSAttributedString *attrFormat = nil;
     NSString * error;
        NSRect frame;
        
        if ([BDSKFormatParser validateFormat:&formatString 
attributedFormat:&attrFormat forField:BDSKLocalFileString error:&error]) {
-               [self setLocalUrlFormatInvalidWarning:nil];
-               
         [previewTextField setStringValue:[[BDSKPreviewItem sharedItem] 
suggestedLocalFilePath]];
                [previewTextField sizeToFit];
                frame = [previewTextField frame];
@@ -157,10 +158,7 @@
                }
                [[self view] setNeedsDisplay:YES];
        } else {
-               [self setLocalUrlFormatInvalidWarning:error];
                [previewTextField setStringValue:NSLocalizedString(@"Invalid 
Format", @"Preview for invalid autogeneration format")];
-               if (NO == [formatSheet isVisible])
-                       [self showFormatSheet:self];
        }
        [formatField setAttributedStringValue:attrFormat];
        [formatField sizeToFit];
@@ -169,7 +167,12 @@
                frame.size.width = MAX_FORMAT_WIDTH;
                [formatField setFrame:frame];
        }
-       [formatSheetField setStringValue:[attrFormat string]];
+    if ([formatSheetField currentEditor] == nil) {
+        [formatSheetField setStringValue:[attrFormat string]];
+        [self setLocalUrlFormatInvalidWarning:error];
+        if (error && NO == [formatSheet isVisible])
+            [self showFormatSheet:self];
+    }
 }
 
 - (IBAction)setPapersFolderPathFromTextField:(id)sender{
@@ -316,7 +319,6 @@
             return;
         formatString = [formatSheetField stringValue];
         [sud setObject:formatString forKey:BDSKLocalFileFormatKey];
-        [self performSelector:@selector(textFieldDidBecomeFirstResponder:) 
withObject:formatSheetField afterDelay:0.0];
        }
        [[BDSKTypeManager sharedManager] setRequiredFieldsForLocalFile: 
[BDSKFormatParser requiredFieldsForFormat:formatString]];
     [self updateFormatPresetUI];
@@ -324,10 +326,10 @@
 
 #pragma mark Format field text changes
 
-- (void)textFieldDidBecomeFirstResponder:(NSTextField *)textField {
-    NSTextView *fieldEditor = (NSTextView *)[textField currentEditor];
+- (void)recolorFormatField {
+    NSTextView *fieldEditor = (NSTextView *)[formatSheetField currentEditor];
     // get the attributed string from the format parser
-    NSAttributedString *attrString = [(BDSKFormatStringFormatter *)[textField 
formatter] attributedString];
+    NSAttributedString *attrString = [(BDSKFormatStringFormatter 
*)[formatSheetField formatter] attributedString];
     
     // get the attributes of the parsed string and apply them to our 
NSTextStorage; it may not be safe to set it directly at this point
     if ([[fieldEditor string] isEqualToString:[attrString string]]) {
@@ -340,7 +342,7 @@
 
 - (void)controlTextDidChange:(NSNotification *)notification {
     if ([notification object] == formatSheetField) {
-        [self textFieldDidBecomeFirstResponder:formatSheetField];
+        [self recolorFormatField];
         
         NSString *formatError = [(BDSKFormatStringFormatter 
*)[formatSheetField formatter] formatError];
         [self setLocalUrlFormatInvalidWarning:formatError];
@@ -353,6 +355,11 @@
     return YES;
 }
 
+- (void)handleFormatSelectionDidChange:(NSNotification *)notification {
+    if ([notification object] == [formatSheetField currentEditor])
+        [self recolorFormatField];
+}
+
 #pragma mark Format sheet stuff
 
 - (IBAction)showFormatSheet:(id)sender{

Modified: trunk/bibdesk/BibPref_CiteKey.m
===================================================================
--- trunk/bibdesk/BibPref_CiteKey.m     2018-07-18 09:46:57 UTC (rev 22433)
+++ trunk/bibdesk/BibPref_CiteKey.m     2018-07-18 12:14:24 UTC (rev 22434)
@@ -45,7 +45,6 @@
 #import "BDSKAppController.h"
 #import "BDSKPreviewItem.h"
 #import "BDSKTypeManager.h"
-#import "BDSKTextField.h"
 
 #define MAX_PREVIEW_WIDTH      481
 #define MAX_FORMAT_WIDTH       266
@@ -55,6 +54,7 @@
 - (void)setCiteKeyFormatInvalidWarning:(NSString *)message;
 - (void)updateFormatPresetUI;
 - (void)updateFormatPreviewUI;
+- (void)handleFormatSelectionDidChange:(NSNotification *)notification;
 @end
 
 
@@ -87,6 +87,8 @@
        [[formatRepositoryPopUp cell] setMenuItem:[formatRepositoryPopUp 
itemAtIndex:0]];
     
     [self updateUI];
+    
+    [[NSNotificationCenter defaultCenter] addObserver:self 
selector:@selector(handleFormatSelectionDidChange:) 
name:NSTextViewDidChangeSelectionNotification object:[formatSheet 
fieldEditor:YES forObject:formatSheetField]];
 }
 
 - (void)defaultsDidRevert {
@@ -110,7 +112,7 @@
 }
 
 - (void)updateFormatPreviewUI{
-    NSString *citeKeyFormat = [formatSheetField currentEditor] ? 
[formatSheetField stringValue] : [sud stringForKey:BDSKCiteKeyFormatKey];
+    NSString *citeKeyFormat = [sud stringForKey:BDSKCiteKeyFormatKey];
        NSAttributedString *attrFormat = nil;
        NSString *error = nil;
        NSRect frame;
@@ -118,8 +120,6 @@
        // update the UI elements
        
        if ([BDSKFormatParser validateFormat:&citeKeyFormat 
attributedFormat:&attrFormat forField:BDSKCiteKeyString error:&error]) {
-               [self setCiteKeyFormatInvalidWarning:nil];
-               
                [citeKeyLine setStringValue:[[BDSKPreviewItem sharedItem] 
suggestedCiteKey]];
                [citeKeyLine sizeToFit];
                frame = [citeKeyLine frame];
@@ -129,10 +129,7 @@
                }
                [[self view] setNeedsDisplay:YES];
        } else {
-               [self setCiteKeyFormatInvalidWarning:error];
                [citeKeyLine setStringValue:NSLocalizedString(@"Invalid 
Format", @"Preview for invalid autogeneration format")];
-               if (![formatSheet isVisible])
-                       [self showFormatSheet:self];
        }
        [formatField setAttributedStringValue:attrFormat];
        [formatField sizeToFit];
@@ -141,7 +138,12 @@
                frame.size.width = MAX_FORMAT_WIDTH;
                [formatField setFrame:frame];
        }
-    [formatSheetField setStringValue:[attrFormat string]];
+    if ([formatSheetField currentEditor] == nil) {
+        [formatSheetField setStringValue:[attrFormat string]];
+        [self setCiteKeyFormatInvalidWarning:error];
+        if (error && NO == [formatSheet isVisible])
+            [self showFormatSheet:self];
+    }
 }
 
 - (IBAction)citeKeyHelp:(id)sender{
@@ -228,7 +230,6 @@
             return;
         formatString = [formatSheetField stringValue];
         [sud setObject:formatString forKey:BDSKCiteKeyFormatKey];
-        [self performSelector:@selector(textFieldDidBecomeFirstResponder:) 
withObject:formatSheetField afterDelay:0.0];
     }
     [[BDSKTypeManager sharedManager] setRequiredFieldsForCiteKey: 
[BDSKFormatParser requiredFieldsForFormat:formatString]];
        [self updateFormatPresetUI];
@@ -236,10 +237,10 @@
 
 #pragma mark Format field text changes
 
-- (void)textFieldDidBecomeFirstResponder:(NSTextField *)textField {
-    NSTextView *fieldEditor = (NSTextView *)[textField currentEditor];
+- (void)recolorFormatField {
+    NSTextView *fieldEditor = (NSTextView *)[formatSheetField currentEditor];
     // get the attributed string from the format parser
-    NSAttributedString *attrString = [(BDSKFormatStringFormatter *)[textField 
formatter] attributedString];
+    NSAttributedString *attrString = [(BDSKFormatStringFormatter 
*)[formatSheetField formatter] attributedString];
     
     // get the attributes of the parsed string and apply them to our 
NSTextStorage; it may not be safe to set it directly at this point
     if ([[fieldEditor string] isEqualToString:[attrString string]]) {
@@ -251,7 +252,7 @@
 }
 
 - (void)controlTextDidChange:(NSNotification *)notification {
-    [self textFieldDidBecomeFirstResponder:formatSheetField];
+    [self recolorFormatField];
     
     NSString *formatError = [(BDSKFormatStringFormatter *)[formatSheetField 
formatter] formatError];
     [self setCiteKeyFormatInvalidWarning:formatError];
@@ -261,6 +262,11 @@
     return [(BDSKFormatStringFormatter *)[formatSheetField formatter] 
formatError] == nil;
 }
 
+- (void)handleFormatSelectionDidChange:(NSNotification *)notification {
+    if ([notification object] == [formatSheetField currentEditor])
+        [self recolorFormatField];
+}
+
 #pragma mark Format sheet stuff
 
 - (IBAction)showFormatSheet:(id)sender{

Modified: trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj
===================================================================
--- trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj     2018-07-18 09:46:57 UTC 
(rev 22433)
+++ trunk/bibdesk/Bibdesk.xcodeproj/project.pbxproj     2018-07-18 12:14:24 UTC 
(rev 22434)
@@ -101,7 +101,6 @@
                CE15E6230FCC28B1009FCBF1 /* BibDocument_UI.m in Sources */ = 
{isa = PBXBuildFile; fileRef = CE15E6210FCC28B1009FCBF1 /* BibDocument_UI.m */; 
};
                CE1782FC1158EFCB00B2EBDF /* BookmarkSheet.xib in Resources */ = 
{isa = PBXBuildFile; fileRef = CE1782FB1158EFCB00B2EBDF /* BookmarkSheet.xib 
*/; };
                CE17832E1158F0A000B2EBDF /* BDSKBookmarkSheetController.m in 
Sources */ = {isa = PBXBuildFile; fileRef = CE17832C1158F0A000B2EBDF /* 
BDSKBookmarkSheetController.m */; };
-               CE1E082120FE48E90003FD0D /* BDSKTextField.m in Sources */ = 
{isa = PBXBuildFile; fileRef = CE1E081F20FE48E90003FD0D /* BDSKTextField.m */; 
};
                CE1EF2940F8E0D54004E7AE8 /* BDSKParentGroup.m in Sources */ = 
{isa = PBXBuildFile; fileRef = CE1EF2920F8E0D54004E7AE8 /* BDSKParentGroup.m 
*/; };
                CE2153D416B169A4004EB59A /* BDSKAlias.m in Sources */ = {isa = 
PBXBuildFile; fileRef = CE2153D216B169A4004EB59A /* BDSKAlias.m */; };
                CE21D10B09208B9D0075E607 /* BDSKGroup.m in Sources */ = {isa = 
PBXBuildFile; fileRef = CE21D10909208B9D0075E607 /* BDSKGroup.m */; };
@@ -875,8 +874,6 @@
                CE17832C1158F0A000B2EBDF /* BDSKBookmarkSheetController.m */ = 
{isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = 
sourcecode.c.objc; path = BDSKBookmarkSheetController.m; sourceTree = 
"<group>"; };
                CE1783631158F57600B2EBDF /* French */ = {isa = 
PBXFileReference; lastKnownFileType = file.xib; name = French; path = 
French.lproj/BookmarkSheet.xib; sourceTree = "<group>"; };
                CE17EE7E0E24F27400DE06EA /* BibDesk-App.xcconfig */ = {isa = 
PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = 
"BibDesk-App.xcconfig"; sourceTree = "<group>"; };
-               CE1E081E20FE48E90003FD0D /* BDSKTextField.h */ = {isa = 
PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BDSKTextField.h; 
sourceTree = "<group>"; };
-               CE1E081F20FE48E90003FD0D /* BDSKTextField.m */ = {isa = 
PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = 
BDSKTextField.m; sourceTree = "<group>"; };
                CE1EF2910F8E0D54004E7AE8 /* BDSKParentGroup.h */ = {isa = 
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = 
BDSKParentGroup.h; sourceTree = "<group>"; };
                CE1EF2920F8E0D54004E7AE8 /* BDSKParentGroup.m */ = {isa = 
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path 
= BDSKParentGroup.m; sourceTree = "<group>"; };
                CE2153D116B169A4004EB59A /* BDSKAlias.h */ = {isa = 
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = 
BDSKAlias.h; sourceTree = "<group>"; };
@@ -2100,7 +2097,6 @@
                                CE62E0920F4C46D600BDF01E /* BDSKSplitView.m */,
                                CE30FAD60919713100CB1A19 /* BDSKStatusBar.m */,
                                CE62E0B80F4C4A2100BDF01E /* BDSKTableView.m */,
-                               CE1E081F20FE48E90003FD0D /* BDSKTextField.m */,
                                CE33D605136AB73600ACE924 /* 
BDSKTextImportItemTableView.m */,
                                F9DCEA4E094B7D1100AEE662 /* 
BDSKTextWithIconCell.m */,
                                CE6DACC30A503ECF00123185 /* BDSKToolbarItem.m 
*/,
@@ -2714,7 +2710,6 @@
                                CE95AF150ADBE7C000CB20E7 /* 
BDSKTemplateObjectProxy.h */,
                                CE325FCB0A1A74E9002D6E4C /* 
BDSKTemplateParser.h */,
                                F9DB895A08A54BBA00CB3D53 /* BDSKTeXTask.h */,
-                               CE1E081E20FE48E90003FD0D /* BDSKTextField.h */,
                                27AFAF9A080D1E1B0096F5D2 /* 
BDSKTextImportController.h */,
                                CE33D604136AB73600ACE924 /* 
BDSKTextImportItemTableView.h */,
                                F98AA67F0971E3F400184BD8 /* 
BDSKTextViewCompletionController.h */,
@@ -3472,7 +3467,6 @@
                                CE38FB89091D946A00BCB69D /* 
BDSKConditionController.m in Sources */,
                                CE38FB8F091D94A100BCB69D /* BDSKFilter.m in 
Sources */,
                                CE38FB91091D94A100BCB69D /* 
BDSKFilterController.m in Sources */,
-                               CE1E082120FE48E90003FD0D /* BDSKTextField.m in 
Sources */,
                                F9E07C8509202309007BCDD4 /* 
BibDocument_Groups.m in Sources */,
                                F9E07C9009202345007BCDD4 /* 
BibDocument_Search.m in Sources */,
                                CE522F761D5CA7FE00348D7D /* BDSKDOIParser.m in 
Sources */,

Modified: trunk/bibdesk/English.lproj/BibPref_AutoFile.xib
===================================================================
--- trunk/bibdesk/English.lproj/BibPref_AutoFile.xib    2018-07-18 09:46:57 UTC 
(rev 22433)
+++ trunk/bibdesk/English.lproj/BibPref_AutoFile.xib    2018-07-18 12:14:24 UTC 
(rev 22434)
@@ -3042,7 +3042,6 @@
                                <string 
key="148.IBEditorWindowLastContentRect">{{116, 162}, {435, 563}}</string>
                                <string 
key="148.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
                                <string 
key="149.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string 
key="150.CustomClassName">BDSKTextField</string>
                                <object class="NSMutableDictionary" 
key="150.IBAttributePlaceholdersKey">
                                        <string key="NS.key.0">ToolTip</string>
                                        <object class="IBToolTipAttribute" 
key="NS.object.0">
@@ -3524,16 +3523,6 @@
                                        </object>
                                </object>
                        </array>
-                       <array class="NSMutableArray" 
key="referencedPartialClassDescriptionsV3.1+">
-                               <object class="IBPartialClassDescription">
-                                       <string 
key="className">BDSKTextField</string>
-                                       <string 
key="superclassName">NSTextField</string>
-                                       <object 
class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string 
key="majorKey">IBDocumentRelativeSource</string>
-                                               <string 
key="minorKey">../BDSKTextField.h</string>
-                                       </object>
-                               </object>
-                       </array>
                        <array class="NSMutableArray" 
key="referencedPartialClassDescriptionsV3.2+">
                                <object class="IBPartialClassDescription">
                                        <string 
key="className">NSActionCell</string>

Modified: trunk/bibdesk/English.lproj/BibPref_CiteKey.xib
===================================================================
--- trunk/bibdesk/English.lproj/BibPref_CiteKey.xib     2018-07-18 09:46:57 UTC 
(rev 22433)
+++ trunk/bibdesk/English.lproj/BibPref_CiteKey.xib     2018-07-18 12:14:24 UTC 
(rev 22434)
@@ -2428,7 +2428,6 @@
                                <string 
key="248.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
                                <string 
key="249.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
                                <string 
key="250.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string 
key="251.CustomClassName">BDSKTextField</string>
                                <object class="NSMutableDictionary" 
key="251.IBAttributePlaceholdersKey">
                                        <string key="NS.key.0">ToolTip</string>
                                        <object class="IBToolTipAttribute" 
key="NS.object.0">
@@ -2679,16 +2678,6 @@
                                        </object>
                                </object>
                        </array>
-                       <array class="NSMutableArray" 
key="referencedPartialClassDescriptionsV3.1+">
-                               <object class="IBPartialClassDescription">
-                                       <string 
key="className">BDSKTextField</string>
-                                       <string 
key="superclassName">NSTextField</string>
-                                       <object 
class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string 
key="majorKey">IBDocumentRelativeSource</string>
-                                               <string 
key="minorKey">../BDSKTextField.h</string>
-                                       </object>
-                               </object>
-                       </array>
                </object>
                <int key="IBDocument.localizationMode">0</int>
                <string 
key="IBDocument.TargetRuntimeIdentifier">IBCocoaFramework</string>

Modified: trunk/bibdesk/French.lproj/BibPref_AutoFile.xib
===================================================================
--- trunk/bibdesk/French.lproj/BibPref_AutoFile.xib     2018-07-18 09:46:57 UTC 
(rev 22433)
+++ trunk/bibdesk/French.lproj/BibPref_AutoFile.xib     2018-07-18 12:14:24 UTC 
(rev 22434)
@@ -2747,7 +2747,6 @@
                                <string 
key="146.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
                                <string 
key="148.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
                                <string 
key="149.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string 
key="150.CustomClassName">BDSKTextField</string>
                                <object class="NSMutableDictionary" 
key="150.IBAttributePlaceholdersKey">
                                        <string key="NS.key.0">ToolTip</string>
                                        <object class="IBToolTipAttribute" 
key="NS.object.0">
@@ -2757,6 +2756,9 @@
                                        </object>
                                </object>
                                <string 
key="150.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
+                               <object class="NSAffineTransform" 
key="150.IBViewBoundsToFrameTransform">
+                                       <bytes 
key="NSTransformStruct">P4AAAL+AAABDHAAAwzwAAA</bytes>
+                               </object>
                                <string 
key="151.IBEditorWindowLastContentRect">{{268, 553}, {558, 93}}</string>
                                <string 
key="151.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
                                <string 
key="152.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -3149,16 +3151,6 @@
                                        </object>
                                </object>
                        </array>
-                       <array class="NSMutableArray" 
key="referencedPartialClassDescriptionsV3.1+">
-                               <object class="IBPartialClassDescription">
-                                       <string 
key="className">BDSKTextField</string>
-                                       <string 
key="superclassName">NSTextField</string>
-                                       <object 
class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string 
key="majorKey">IBDocumentRelativeSource</string>
-                                               <string 
key="minorKey">../BDSKTextField.h</string>
-                                       </object>
-                               </object>
-                       </array>
                </object>
                <int key="IBDocument.localizationMode">0</int>
                <string 
key="IBDocument.TargetRuntimeIdentifier">IBCocoaFramework</string>

Modified: trunk/bibdesk/French.lproj/BibPref_CiteKey.xib
===================================================================
--- trunk/bibdesk/French.lproj/BibPref_CiteKey.xib      2018-07-18 09:46:57 UTC 
(rev 22433)
+++ trunk/bibdesk/French.lproj/BibPref_CiteKey.xib      2018-07-18 12:14:24 UTC 
(rev 22434)
@@ -2384,7 +2384,6 @@
                                        <string>249.ImportedFromIB2</string>
                                        <string>250.IBPluginDependency</string>
                                        <string>250.ImportedFromIB2</string>
-                                       <string>251.CustomClassName</string>
                                        
<string>251.IBAttributePlaceholdersKey</string>
                                        <string>251.IBPluginDependency</string>
                                        <string>251.ImportedFromIB2</string>
@@ -2602,7 +2601,6 @@
                                        <boolean value="YES"/>
                                        
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <boolean value="YES"/>
-                                       <string>BDSKTextField</string>
                                        <object class="NSMutableDictionary">
                                                <string 
key="NS.key.0">ToolTip</string>
                                                <object 
class="IBToolTipAttribute" key="NS.object.0">
@@ -3135,17 +3133,6 @@
                                        </object>
                                </object>
                        </object>
-                       <object class="NSMutableArray" 
key="referencedPartialClassDescriptionsV3.1+">
-                               <bool key="EncodedWithXMLCoder">YES</bool>
-                               <object class="IBPartialClassDescription">
-                                       <string 
key="className">BDSKTextField</string>
-                                       <string 
key="superclassName">NSTextField</string>
-                                       <object 
class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string 
key="majorKey">IBDocumentRelativeSource</string>
-                                               <string 
key="minorKey">../BDSKTextField.h</string>
-                                       </object>
-                               </object>
-                       </object>
                        <object class="NSMutableArray" 
key="referencedPartialClassDescriptionsV3.2+">
                                <bool key="EncodedWithXMLCoder">YES</bool>
                                <object class="IBPartialClassDescription">

Modified: trunk/bibdesk/German.lproj/BibPref_AutoFile.xib
===================================================================
--- trunk/bibdesk/German.lproj/BibPref_AutoFile.xib     2018-07-18 09:46:57 UTC 
(rev 22433)
+++ trunk/bibdesk/German.lproj/BibPref_AutoFile.xib     2018-07-18 12:14:24 UTC 
(rev 22434)
@@ -2747,7 +2747,6 @@
                                <string 
key="148.IBEditorWindowLastContentRect">{{116, 161}, {565, 563}}</string>
                                <string 
key="148.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
                                <string 
key="149.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string 
key="150.CustomClassName">BDSKTextField</string>
                                <object class="NSMutableDictionary" 
key="150.IBAttributePlaceholdersKey">
                                        <string key="NS.key.0">ToolTip</string>
                                        <object class="IBToolTipAttribute" 
key="NS.object.0">
@@ -3235,16 +3234,6 @@
                                        </object>
                                </object>
                        </array>
-                       <array class="NSMutableArray" 
key="referencedPartialClassDescriptionsV3.1+">
-                               <object class="IBPartialClassDescription">
-                                       <string 
key="className">BDSKTextField</string>
-                                       <string 
key="superclassName">NSTextField</string>
-                                       <object 
class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string 
key="majorKey">IBDocumentRelativeSource</string>
-                                               <string 
key="minorKey">../BDSKTextField.h</string>
-                                       </object>
-                               </object>
-                       </array>
                        <array class="NSMutableArray" 
key="referencedPartialClassDescriptionsV3.2+">
                                <object class="IBPartialClassDescription">
                                        <string 
key="className">NSActionCell</string>

Modified: trunk/bibdesk/German.lproj/BibPref_CiteKey.xib
===================================================================
--- trunk/bibdesk/German.lproj/BibPref_CiteKey.xib      2018-07-18 09:46:57 UTC 
(rev 22433)
+++ trunk/bibdesk/German.lproj/BibPref_CiteKey.xib      2018-07-18 12:14:24 UTC 
(rev 22434)
@@ -2337,7 +2337,6 @@
                                <string 
key="248.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
                                <string 
key="249.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
                                <string 
key="250.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string 
key="251.CustomClassName">BDSKTextField</string>
                                <object class="NSMutableDictionary" 
key="251.IBAttributePlaceholdersKey">
                                        <string key="NS.key.0">ToolTip</string>
                                        <object class="IBToolTipAttribute" 
key="NS.object.0">
@@ -2588,16 +2587,6 @@
                                        </object>
                                </object>
                        </array>
-                       <array class="NSMutableArray" 
key="referencedPartialClassDescriptionsV3.1+">
-                               <object class="IBPartialClassDescription">
-                                       <string 
key="className">BDSKTextField</string>
-                                       <string 
key="superclassName">NSTextField</string>
-                                       <object 
class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string 
key="majorKey">IBDocumentRelativeSource</string>
-                                               <string 
key="minorKey">../BDSKTextField.h</string>
-                                       </object>
-                               </object>
-                       </array>
                </object>
                <int key="IBDocument.localizationMode">0</int>
                <string 
key="IBDocument.TargetRuntimeIdentifier">IBCocoaFramework</string>

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


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to