 
     private func configureAccessoryViews() {
         defaultEditToolbar.delegate = self
-    }
-
-    private func setCursorPositionIfNeeded() {
-        let shouldSetCursor = !textView.isFirstResponder
-
-        guard shouldSetCursor else {
-            return
-        }
-
-        let newPosition = textView.beginningOfDocument
-        textView.selectedTextRange = textView.textRange(from: newPosition, to: newPosition)
     }
 
     private func loadWikitext() {


    var preferredInputViewType: TextFormattingInputViewController.InputViewType?

    private var preferredAccessoryView: (UIView & Themeable)? {
        didSet {
            reloadInputViews()
            textView.reloadInputViews()
        }
    }


        registerForKeyboardNotifications()
        enableProgressButton(changesMade)

        textView.becomeFirstResponder()
        preferredAccessoryView = defaultEditToolbar
    }

    override func viewWillDisappear(_ animated: Bool) {
