-
- Downloads
Make STTextContainer open and STTextLayoutManager replaceable
The changes make STTextContainer open to allow subclassing and make STTextView's textLayoutManager property fully replaceable by adding proper setup/teardown logic. This ensures that when replacing the layout manager, all necessary delegate and observer relationships are properly maintained, fixing potential issues with notification handling and delegate assignments.
Showing
- Sources/STTextViewAppKit/STTextContainer.swift 1 addition, 1 deletionSources/STTextViewAppKit/STTextContainer.swift
- Sources/STTextViewAppKit/STTextView.swift 34 additions, 23 deletionsSources/STTextViewAppKit/STTextView.swift
- Sources/STTextViewCommon/STTextLayoutManager.swift 1 addition, 1 deletionSources/STTextViewCommon/STTextLayoutManager.swift
Loading
Please register or sign in to comment