6

I use NSTextView in my Cocoa app. I press Option-E, the text view displays an acute accent in a yellow highlight box, indicating that it is marked text, rather than final input. When the I type the next character, the text view must display it as a single accented character but it doesn't. For example enter image description here Why?

UPDATE: here are my steps: enter image description here

Igor
  • 880
  • 1
  • 7
  • 11
  • In my own app that uses NSTextView, if I click option-E twice, you'll get your single accent character. Do you only want to have an accute accent for option-C instead of the functionality that the standard NSTextView class provides? – Michael Dautermann Feb 04 '13 at 00:35
  • I don't want that an extra accent character remains. I updated my question. – Igor Feb 04 '13 at 06:05
  • 1
    This is an unmodified `NSTextView`? Not a subclass? No categories on `NSTextView` in your program? – jscs Feb 04 '13 at 06:21
  • This happened to me as a result of overriding `[insertText:]`, when subclassing `NSTextView` – C. Bess Jul 04 '19 at 16:32

0 Answers0