             return
         }
         
+        state = .InputChar
         showTextField()
     }
     

    }
    
    private func hideTextField() {
        inputTextField.removeFromSuperview()
    }
    

        let textFieldRect = NSRect(origin: currentEditorView.cursorPosition, size: textFieldSize)
        
        inputTextField.frame = textFieldRect
        inputTextField.alphaValue = 1
        
        currentEditorView.addSubview(inputTextField)
        
