     }
     
 }
+
+
+
+// MARK: Protocol
+
+extension EditorWrapper: TextFinderClientProvider {
+    
+    /// tell text finder in which text view should it find text
+    func textFinderClient() -> NSTextView? {
+        
+        return self.focusedTextView
+    }
+}

    
    
    
    // MARK: Protocol
    
    /// tell text finder in which text view should it find text
    func textFinderClient() -> NSTextView? {
        
        return self.focusedTextView
    }
    
    
    
    // MARK: Delegate
    
    /// text did edit


import Cocoa

final class EditorWrapper: NSResponder, SyntaxStyleDelegate, ThemeHolder, NSTextStorageDelegate {
    
    // MARK: Private Properties
    
