Add TextEditorElement::getDefaultCharacterWidth
Add TextEditorElement::onDidAttach, ::onDidDetach
:memo: new TextEditorElement methods
Don't throw when ::getDefaultCharacterWidth is called while detached
Merge pull request #4457 from atom/mb-text-editor-element-methods

Add `TextEditorElement` methods needed to replace deprecated APIs