From ef0d9f356fe7b454bdc05b405cad0be8ecf08a22 Mon Sep 17 00:00:00 2001 From: Yuya Tanaka Date: Mon, 18 Apr 2016 16:44:59 +0900 Subject: [PATCH] Fix code style --- SwiftLintXcode/Formatter.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SwiftLintXcode/Formatter.swift b/SwiftLintXcode/Formatter.swift index a6079fe..1216614 100644 --- a/SwiftLintXcode/Formatter.swift +++ b/SwiftLintXcode/Formatter.swift @@ -46,7 +46,7 @@ final class Formatter { let cursorPosition = cursorPositionForSelectedRange(selectedRange, textStorage: textStorage) textStorage.beginEditing() - textStorage.replaceCharactersInRange(NSRange(location: 0, length: textStorage.length), withString: formattedString, withUndoManager: document.undoManager()) + textStorage.replaceCharactersInRange(NSRange(location: 0, length: textStorage.length), withString: formattedString, withUndoManager: document.undoManager()) textStorage.endEditing() let newLocation = locationForCursorPosition(cursorPosition, textStorage: textStorage)