
// NCTextView.m
//
// Written by Norbert Heger <bertl@hal.kph.tuwien.ac.at>
// Copyright (c)1997
//
// This file is distributed under the terms of the
// GNU General Public License.

#import "NCTextView.h"

@implementation NCTextView

- (void)keyDown:(NSEvent *)event
{
    NSString *string = [event characters];

    if ([string isEqualToString:@"{"]) {
        [self insertText:string];
    } else {
        [super keyDown:event];
    }
}

@end
