Return to Snippet

Revision: 59600
at September 19, 2012 15:47 by robinlu


Initial Code
- (BOOL)textView:(NSTextView *)aTextView doCommandBySelector:(SEL)aSelector {
    if (aSelector == @selector(insertTab:)) {
        [[aTextView window] selectNextKeyView:nil];
        return YES;
    }

    return NO;
}

Initial URL

                                

Initial Description

                                

Initial Title
disable tab in textview

Initial Tags

                                

Initial Language
Objective C