Bug in TextEdit
Bug in TextEdit
- Subject: Bug in TextEdit
- From: Steve Gehrman <email@hidden>
- Date: Tue, 17 Dec 2002 23:01:38 -0800
I found a bug in TextEdit, and my code also has the same problem.
(Since I'm using the same ScalingScrollView)
Open a new document in TextEdit, switch to Wrap To Page mode.
Switch the Zoom in percentage at the bottom of the Window to something
other than 100.
Switch to Wrap to Window mode.
Now, resize the window and the NSTextView inside the NSScrollView no
longer autoresizes to fit.
I narrowed this bug down to the...
[clipView setBoundsSize:newDocBoundsSize];
line in the ScalingScrollView class. Even when setBoundsSize sets
everything back to 1.0 as the scaleFactor, something has been changed
that turns off the auto resizing needed for the Wrap to Window mode.
Please help!!!
-steve
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.