Skip to content

Commit efc0760

Browse files
committed
Remove unused code.
1 parent 1f47ac8 commit efc0760

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

Aztec/Classes/TextKit/TextView.swift

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,6 @@ open class TextView: UITextView {
226226

227227
// MARK: - Properties: UI Defaults
228228

229-
public var monospaceFont: UIFont = UIFont(descriptor:UIFontDescriptor(name: "Courier", size: 12), size:12)
230-
231229
public var defaultFont: UIFont {
232230
didSet {
233231
refreshFont(oldFont: oldValue, newFont: defaultFont)
@@ -260,23 +258,6 @@ open class TextView: UITextView {
260258
return attributes
261259
}
262260

263-
/// This closure will be executed whenever the `TextView` needs to set the base style for
264-
/// a caption. Override this to customize the caption styling.
265-
///
266-
public lazy var captionStyler: ([NSAttributedString.Key:Any]) -> [NSAttributedString.Key:Any] = { [weak self] attributes in
267-
guard let `self` = self else {
268-
return attributes
269-
}
270-
271-
let font = self.defaultFont.withSize(10)
272-
273-
var attributes = attributes
274-
attributes[.font] = font
275-
attributes[.foregroundColor] = UIColor.darkGray
276-
277-
return attributes
278-
}
279-
280261
// MARK: - Plugin Loading
281262

282263
var pluginManager: PluginManager {

0 commit comments

Comments
 (0)