mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-24 17:18:54 +00:00
A text container that tracked its text view's size took the text view's full width, while the text started after the text container inset, so lines could run past the visible right edge. It now follows Cocoa: a tracking container fills the text view minus the inset on both sides. * CPTextView/CPTextContainer.j: Subtract the text container inset on both sides when tracking the text view's width and height. * CPTextView/CPTextView.j: Refit the text container when a text view is created and when its text container inset changes.