     override func selectionDidChange(_ textInput: UITextInput?) {
         super.selectionDidChange(textInput)
         autocompleteToolbar.reset()
+    }
+    
+    override func textDidChange(_ textInput: UITextInput?) {
+        super.textDidChange(textInput)
+        requestAutocompleteSuggestions()
     }
     
     

    lazy var autocompleteToolbar: AutocompleteToolbar = {
        AutocompleteToolbar(textDocumentProxy: textDocumentProxy)
    }()
    
    
    // MARK: - Functions
    
    override func setupKeyboard() {
        setupKeyboard(for: view.bounds.size)
    }
    
    func switchKeyboardType(to type: KeyboardType){
        DispatchQueue.main.asyncAfter(deadline: .now() + 0.2) {
            self.changeKeyboardType(to: type)
        }
    }
}

    
    // MARK: - Keyboard Functionality
    
    override func setupKeyboard() {
        setupKeyboard(for: view.bounds.size)
    }
    
    override func selectionWillChange(_ textInput: UITextInput?) {
