Skip to content

Commit 0e292ae

Browse files
author
Gerardo
committed
Fix lint whitespace issues
1 parent 3510e7d commit 0e292ae

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

Aztec/Classes/Extensions/NSAttributedStringKey+Aztec.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public extension NSAttributedString.Key {
6161
/// Key used to store Sub Tag Metadata, by our SupFormatter.
6262
///
6363
static let subHtmlRepresentation = NSAttributedString.Key("Sub.htmlRepresentation")
64-
64+
6565
/// Key used to store Mark Tag Metadata, by our MarkFormatter.
6666
///
6767
static let markHtmlRepresentation = NSAttributedString.Key("Mark.htmlRepresentation")

Aztec/Classes/Formatters/Implementations/MarkFormatter.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,3 @@ class MarkFormatter: AttributeFormatter {
3333
return attributes[NSAttributedString.Key.markHtmlRepresentation] != nil
3434
}
3535
}
36-
37-

Aztec/Classes/TextKit/TextView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,7 @@ open class TextView: UITextView {
11371137
toggle(formatter: formatter, atRange: range)
11381138
forceRedrawCursorAfterDelay()
11391139
}
1140-
1140+
11411141
/// Adds or removes a mark style from the specified range.
11421142
///
11431143
/// - Parameter range: The NSRange to edit.
@@ -1971,7 +1971,7 @@ private extension TextView {
19711971
/// Removes all paragraph formatting from the typingAttributes and from the selected range.
19721972
///
19731973
private func removeParagraphFormatting() {
1974-
for formatter in paragraphFormatters {
1974+
for formatter in paragraphFormatters {
19751975
typingAttributes = formatter.remove(from: typingAttributes)
19761976
formatter.removeAttributes(from: storage, at: selectedRange)
19771977
}

0 commit comments

Comments
 (0)