Problem with setLineFragmentPadding(0f)
Problem with setLineFragmentPadding(0f)
- Subject: Problem with setLineFragmentPadding(0f)
- From: "Vera Wahler" <email@hidden>
- Date: Thu, 18 Aug 2005 16:34:22 +0200
Hi all,
I have problems using the setLineFragment-method with the parameter-value 0 in
Java.
Using this value causes scrolling-problems in the NSTextView:
If the text in the textview is too long to fit into the view and scrolling is
enabled, there is the following problem if you enter an newline:
the textView automatically scrolls to the beginning of the text, the cursor
stays in the last line (which is not visible now) and if you enter another
letter the view scrolls back to the postion of the cursor.
As a workaround I used the value 0.01 and then everthing works fine, but I
don't want to live with this hack.
Any help? Thanks.
Vera
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden