mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-25 09:35:36 +00:00
When CPLayoutManager retained and repositioned unchanged line fragments below an edit, `_CPLineFragment` incorrectly modified attachment view frames directly and assigned an unused property to text spans. Consequently, moved views remained visually stationary on screen because subsequent layout-pass `setFrameOrigin:` calls detected matching origins, causing asynchronously loaded elements (such as pasted tables combined with images) to render at incorrect offsets until forced by a scroll or resize event. * AppKit/CPTextView/CPLayoutManager.j: - Update attachment view relocation to correctly trigger `setFrameOrigin:`. - Shift rendered text spans via their style coordinate top properties. * Tests/Manual/TextEditor/WORKLIST.md: - Mark composite paste workflows (text containing both images and tables) as tested. Attachment views and text spans now immediately track their corresponding line fragments when text is inserted or modified above them.