Skip to content

Commit 1607f04

Browse files
committed
Fix Overridding Delegate
1 parent d692ca6 commit 1607f04

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Tests/CodeEditTextViewTests/LayoutManager/OverridingLayoutManagerRenderingTests.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@ class MockRenderDelegate: TextLayoutManagerRenderDelegate {
1313

1414
var estimatedLineHeightOverride: (() -> CGFloat)?
1515

16-
func prepareForDisplay( // swiftlint:disable:this function_parameter_count
16+
func prepareForDisplay(
1717
textLine: TextLine,
1818
displayData: TextLine.DisplayData,
1919
range: NSRange,
2020
stringRef: NSTextStorage,
21-
markedRanges: MarkedRanges?
21+
markedRanges: MarkedRanges?,
22+
attachments: [TextAttachmentBox]
2223
) {
2324
prepareForDisplay?(
2425
textLine,

0 commit comments

Comments
 (0)