private List<AceCompletionProvider> getApplicableCompletionProviders(final String editorId,
                                                                         final String modeShortName) {

        final List<AceCompletionProvider> allCompletionProviders = new ArrayList<>();
        // Add any mode agnostic providers for this editor
        addProviders(allCompletionProviders, MapKey.fromEditorId(editorId));
        // Add any mode specific providers for this editor
        addProviders(allCompletionProviders, MapKey.from(editorId, modeShortName));
        // Add any editor agnostic providers for this mode
        addProviders(allCompletionProviders, MapKey.fromModeName(modeShortName));
        return allCompletionProviders;
    }
Remove all providers for this mode. These providers may be used by many
editor instances.
stroom-core-client-widget/src/main/java/stroom/editor/client/presenter/DelegatingAceCompleter.java