• Friedemann Kleint's avatar
    Design mode: Give IEditor a 'preferred mode'. · 2edcc7ef
    Friedemann Kleint authored
    ... and switch to it in EditorManager::activateEditor.
    There no longer is a need for special currentEditorChanged()
    handling in the editor that use a special mode.
    
    QmlDesigner receives an additional setting specifying the
    desired edit mode. QmlJSEditor detects whether QmlDesigner
    is present by checking the registered mimetypes of the
    Design mode and retrieves the settings via keys.
    
    Remove some obsolete code and clean up includes
    on qmldesignerconstants.h
    
    Reviewed-by: con
    2edcc7ef
formeditorw.cpp 32.9 KB