From 15c9f1e3b90cded700758998d276d748041c2f6b Mon Sep 17 00:00:00 2001 From: Adrian Schoenig Date: Sat, 4 Jun 2022 17:24:39 +1000 Subject: [PATCH] Make TextView non-final --- Sources/Runestone/TextView/TextView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Runestone/TextView/TextView.swift b/Sources/Runestone/TextView/TextView.swift index 6a5320e01..33e70bf02 100644 --- a/Sources/Runestone/TextView/TextView.swift +++ b/Sources/Runestone/TextView/TextView.swift @@ -11,7 +11,7 @@ import UIKit /// /// When initially configuring the `TextView` with a theme, a language and the text to be shown, it is recommended to use the ``setState(_:addUndoAction:)`` function. /// The function takes an instance of ``TextViewState`` as input which can be created on a background queue to avoid blocking the main queue while doing the initial parse of a text. -open final class TextView: UIScrollView { +open class TextView: UIScrollView { /// Delegate to receive callbacks for events triggered by the editor. public weak var editorDelegate: TextViewDelegate? /// Whether the text view is in a state where the contents can be edited.