You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/Runestone/TextView/Appearance/Theme.swift
-4Lines changed: 0 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,6 @@ public protocol Theme: AnyObject {
51
51
///
52
52
/// See <doc:CreatingATheme> for more information on higlight names.
53
53
func shadow(for highlightName:String)->NSShadow?
54
-
#if compiler(>=5.7)
55
54
/// Highlighted range for a text range matching a search query.
56
55
///
57
56
/// This function is called when highlighting a search result that was found using the standard find/replace interaction enabled using <doc:TextView/isFindInteractionEnabled>.
@@ -63,7 +62,6 @@ public protocol Theme: AnyObject {
63
62
/// - Returns: The object used for highlighting the provided text range, or `nil` if the range should not be highlighted.
/// A boolean value that enables a text view’s built-in find interaction.
569
568
///
570
569
/// After enabling the find interaction, use [`presentFindNavigator(showingReplace:)`](https://developer.apple.com/documentation/uikit/uifindinteraction/3975832-presentfindnavigator) on <doc:findInteraction> to present the find navigator.
@@ -586,18 +585,15 @@ open class TextView: UIScrollView {
0 commit comments