mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-25 09:35:36 +00:00
Vertically resizable CPTextView instances previously calculated frame heights using metrics from the first character, second-to-last character, and extra line fragment, omitting the bounding box of the final character. Consequently, trailing elements such as bottom-anchored image attachments were clipped, and vertical scroll bars failed to match content bounds following scaling or layout updates. * AppKit/CPTextView/CPTextView.j: - Include the final character's bounding rectangle when computing view height to fit text. * Tests/Manual/TextEditor/WORKLIST.md: - Mark wide image fitting tests as completed. CPTextView containers now fully display trailing content and maintain accurate vertical scroll bar scaling.
Requires objj be installed, as well as ojunit, located at http://github.com/cappuccino/ojunit
Run individual tests using a command similar to the following:
objj ojunit/OJTestRunnerText.j cappuccino/Tests/Foundation/CPDateTest.j