Files
macSVG-mirror/macSVG/SVGDocument Classes/XMLAttributesTableView.m
2019-10-24 09:58:45 -05:00

60 lines
1.4 KiB
Objective-C

//
// XMLAttributesTableView.m
// macSVG
//
// Created by Douglas Ward on 10/15/11.
// Copyright © 2016 ArkPhone LLC. All rights reserved.
//
#import "XMLAttributesTableView.h"
#import "XMLAttributesTableController.h"
@implementation XMLAttributesTableView
- (void)dealloc
{
}
- (instancetype)init
{
self = [super init];
if (self) {
// Initialization code here.
}
return self;
}
/*
- (void) textDidEndEditing: (NSNotification *) notification
{
// NSTableView textDidEndEditing - Deprecated - Use a view-based table view with an NSTextField object instead.
// make return and tab only end editing, and not cause other cells to edit
NSDictionary *userInfo = notification.userInfo;
int textMovement = [[userInfo valueForKey:@"NSTextMovement"] intValue];
if (textMovement == NSReturnTextMovement
|| textMovement == NSTabTextMovement
|| textMovement == NSBacktabTextMovement)
{
NSMutableDictionary *newInfo;
newInfo = [NSMutableDictionary dictionaryWithDictionary: userInfo];
newInfo[@"NSTextMovement"] = @(NSIllegalTextMovement);
notification = [NSNotification notificationWithName: notification.name
object: notification.object
userInfo: newInfo];
}
[super textDidEndEditing: notification];
[self.window makeFirstResponder:self];
} // textDidEndEditing
*/
@end