Closed luciuskwok closed 14 years ago
It's possible to have NSTextField insert newlines and tabs instead of ending editing, if you use the code in QA1454 How to make NSTextField accept tab, return and enter keys. However, to support drag and drop of images into the text field and intercept the drags, I had to use a NSTextView, which does the right thing automatically with tab and return. Fixed in f0b42dd992cff12452bbf44ede91a1cc0cb57e24.
The current version uses a multi-line text label, which seems unable to insert newlines. It might be possible in the delegate which accepts the return key to insert a newline. Or it might require changing over to a NSTextView for text entry.