Added NSTextVewDelegate