Moved more methods and fields to inner classes in EditorView.