Dropping text by a line when pressing return key
Posted
by iSight
on Stack Overflow
See other posts from Stack Overflow
or by iSight
Published on 2010-03-30T10:49:42Z
Indexed on
2010/03/30
10:53 UTC
Read the original article
Hit count: 286
cocoa
Hi,
I have drawn NSTextView object on NSView, which i added by calling addSubview method.
When I enter text and press enter text i had entered come down by one line correspondingly.
What can be the reason behind it, and how to cope with this problem.
© Stack Overflow or respective owner