         return alertView
     }()
     
+    enum Cursor: String {
+        case left, right
+        
+        var direction: Int {
+            if case .left = self { return -1 }
+            else { return 1 }
+        }
+    }
+    
     enum MarkdownSymbols: String {
-        case hash, asterisk, underscore, greaterThan, dash, grave, done
+        case moveLeft, hash, asterisk, underscore, greaterThan, dash, grave, done, moveRight
         
         var character: String {
             switch self {
+            case .moveLeft: return "⬅️️"
             case .hash: return "#"
             case .asterisk: return "*"
             case .underscore: return "_"

    
    func barButtonItemOnToolBarDidTouch(sender: UIBarButtonItem) {
        guard let validButtonTitle = sender.title else { return }
        if sender.title == "⌨" {
            self.textView.endEditing(true)
        }
        else {
            self.textView.insertText(validButtonTitle)
        }
    }
    
    fileprivate func setupKeyboardToolBarWithBarButtonItems() {

            case .dash: return "-"
            case .grave: return "`"
            case .done: return "⌨"
            case .moveRight: return "➡️️"
            }
        }
        
        static let items = [ moveLeft, hash, asterisk, underscore, greaterThan, dash, grave, done, moveRight]
    }
    
    // MARK: - IBOutlet Properties
