diff options
Diffstat (limited to 'Map/Presentation/Base Components/MapTextEditor.swift')
| -rw-r--r-- | Map/Presentation/Base Components/MapTextEditor.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Map/Presentation/Base Components/MapTextEditor.swift b/Map/Presentation/Base Components/MapTextEditor.swift index ff98203..3c5c824 100644 --- a/Map/Presentation/Base Components/MapTextEditor.swift +++ b/Map/Presentation/Base Components/MapTextEditor.swift @@ -150,7 +150,7 @@ extension MapTextEditorController: NSTextStorageDelegate { } } - private func colorizeText(textStorage: NSTextStorage) { + nonisolated private func colorizeText(textStorage: NSTextStorage) { let range = NSMakeRange(0, textStorage.length) var matches = vertexRegex.matches(in: textStorage.string, options: [], range: range) |