Changeset 3620

Show
Ignore:
Timestamp:
01/26/06 20:05:32 (3 years ago)
Author:
morris
Message:

On keydown in chat window, always move to input text field

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • WiredClient/trunk/English.lproj/PrivateChat.nib/classes.nib

    r3406 r3620  
    4040            SUPERCLASS = WCConnectionController;  
    4141        },  
     42        {CLASS = WCChatWindow; LANGUAGE = ObjC; SUPERCLASS = WIWindow; },  
    4243        { 
    4344            CLASS = WCConnectionController;  
     
    5960        },  
    6061        {CLASS = WITextView; LANGUAGE = ObjC; SUPERCLASS = NSTextView; },  
     62        {CLASS = WIWindow; LANGUAGE = ObjC; SUPERCLASS = NSWindow; },  
    6163        { 
    6264            CLASS = WIWindowController;  
  • WiredClient/trunk/English.lproj/PrivateChat.nib/info.nib

    r3565 r3620  
    88        <dict> 
    99                <key>196</key> 
    10                 <string>679 291 196 118 0 0 1280 1002 </string> 
     10                <string>1080 349 196 118 0 0 1920 1178 </string> 
    1111        </dict> 
    1212        <key>IBFramework Version</key> 
     
    1616                <integer>48</integer> 
    1717        </array> 
     18        <key>IBOldestOS</key> 
     19        <integer>3</integer> 
    1820        <key>IBOpenObjects</key> 
    1921        <array> 
  • WiredClient/trunk/English.lproj/PublicChat.nib/classes.nib

    r3406 r3620  
    4646            SUPERCLASS = WCConnectionController;  
    4747        },  
     48        {CLASS = WCChatWindow; LANGUAGE = ObjC; SUPERCLASS = WIWindow; },  
    4849        { 
    4950            CLASS = WCConnectionController;  
     
    7879        {CLASS = WITextFilter; LANGUAGE = ObjC; SUPERCLASS = NSObject; },  
    7980        {CLASS = WITextView; LANGUAGE = ObjC; SUPERCLASS = NSTextView; },  
     81        {CLASS = WIWindow; LANGUAGE = ObjC; SUPERCLASS = NSWindow; },  
    8082        { 
    8183            CLASS = WIWindowController;  
  • WiredClient/trunk/English.lproj/PublicChat.nib/info.nib

    r3565 r3620  
    44<dict> 
    55        <key>IBDocumentLocation</key> 
    6         <string>482 124 408 436 0 0 1280 1002 </string> 
     6        <string>894 83 408 436 0 0 1920 1178 </string> 
    77        <key>IBEditorPositions</key> 
    88        <dict> 
    99                <key>105</key> 
    10                 <string>736 221 196 187 0 0 1280 1002 </string> 
     10                <string>1171 269 196 187 0 0 1920 1178 </string> 
    1111        </dict> 
    1212        <key>IBFramework Version</key> 
     
    1616                <integer>48</integer> 
    1717        </array> 
     18        <key>IBOldestOS</key> 
     19        <integer>3</integer> 
    1820        <key>IBOpenObjects</key> 
    1921        <array> 
  • WiredClient/trunk/WCChat.m

    r3619 r3620  
    13641364 
    13651365 
     1366- (NSTextView *)insertionTextView { 
     1367        return _chatInputTextView; 
     1368} 
     1369 
     1370 
     1371 
    13661372#pragma mark - 
    13671373 
  • WiredClient/trunk/WCMessagesWindow.m

    r3545 r3620  
    4949                                [characterSet formUnionWithCharacterSet:[NSCharacterSet symbolCharacterSet]]; 
    5050                                [characterSet formUnionWithCharacterSet:[NSCharacterSet whitespaceCharacterSet]]; 
     51                                [characterSet removeCharactersInString:@"\t"]; 
    5152                        } 
    5253                         
    53                         if([[event characters] isComposedOfCharactersFromSet:characterSet] && 
    54                            [event character] != '\t') { 
     54                        if([[event characters] isComposedOfCharactersFromSet:characterSet]) { 
    5555                                [[self delegate] showPrivateMessageReplyWithString:[event characters]]; 
    5656                                 
  • WiredClient/trunk/WiredClient.xcodeproj/project.pbxproj

    r3598 r3620  
    8686                777D36C50987E125005B5EC1 /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 777D36C40987E125005B5EC1 /* WebKit.framework */; }; 
    8787                777D37490987E8C6005B5EC1 /* Finder.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 777D37480987E8C6005B5EC1 /* Finder.tiff */; }; 
     88                777D3F6609890273005B5EC1 /* WCChatWindow.m in Sources */ = {isa = PBXBuildFile; fileRef = 777D3F6509890273005B5EC1 /* WCChatWindow.m */; }; 
    8889                777E657B0740F34700A8DE0B /* WCFilesBrowserCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 777E65790740F34700A8DE0B /* WCFilesBrowserCell.m */; }; 
    8990                777E663D07412EF300A8DE0B /* Columns.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 777E663C07412EF300A8DE0B /* Columns.tiff */; }; 
     
    347348                777D36C40987E125005B5EC1 /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = /System/Library/Frameworks/WebKit.framework; sourceTree = "<absolute>"; }; 
    348349                777D37480987E8C6005B5EC1 /* Finder.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = Finder.tiff; sourceTree = "<group>"; }; 
     350                777D3F6509890273005B5EC1 /* WCChatWindow.m */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.objc; path = WCChatWindow.m; sourceTree = "<group>"; }; 
     351                777D3F6709890278005B5EC1 /* WCChatWindow.h */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.h; path = WCChatWindow.h; sourceTree = "<group>"; }; 
    349352                777E65780740F34700A8DE0B /* WCFilesBrowserCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WCFilesBrowserCell.h; sourceTree = "<group>"; }; 
    350353                777E65790740F34700A8DE0B /* WCFilesBrowserCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WCFilesBrowserCell.m; sourceTree = "<group>"; }; 
     
    684687                                A5DC7F1F057AAFE100736BBF /* WCChat.m */, 
    685688                                A5DC7F24057AAFE100736BBF /* WCChat.h */, 
     689                                777D3F6509890273005B5EC1 /* WCChatWindow.m */, 
     690                                777D3F6709890278005B5EC1 /* WCChatWindow.h */, 
    686691                                A5DC7EFA057AAF6C00736BBF /* WCPrivateChat.m */, 
    687692                                A5DC7EF6057AAF6C00736BBF /* WCPrivateChat.h */, 
     
    14331438                                A5DC7F84057AB05F00736BBF /* WCUserCell.m in Sources */, 
    14341439                                A5DC7F09057AAF6C00736BBF /* WCUserInfo.m in Sources */, 
     1440                                777D3F6609890273005B5EC1 /* WCChatWindow.m in Sources */, 
    14351441                        ); 
    14361442                        runOnlyForDeploymentPostprocessing = 0;