NSTextView text changing event