<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def register(self, name):
 """ Register configuration for an editor instance. Arguments: name (string):
 Config name from available ones in ``settings.CODEMIRROR_SETTINGS``. Raises: UnknowConfigError: If given config name does not exist in ``settings.CODEMIRROR_SETTINGS``. Returns: dict: Registred config dict. """

        if name not in settings.CODEMIRROR_SETTINGS:
            msg = ("Given config name '{}' does not exists in "
                   "'settings.CODEMIRROR_SETTINGS'.")
            raise UnknowConfigError(msg.format(name))

        parameters = copy.deepcopy(self.default_internal_config)
        parameters.update(copy.deepcopy(
            settings.CODEMIRROR_SETTINGS[name]
        ))

        # Add asset bundles name
        if 'css_bundle_name' not in parameters:
            css_template_name = settings.CODEMIRROR_BUNDLE_CSS_NAME
            parameters['css_bundle_name'] = css_template_name.format(
                settings_name=name
            )
        if 'js_bundle_name' not in parameters:
            js_template_name = settings.CODEMIRROR_BUNDLE_JS_NAME
            parameters['js_bundle_name'] = js_template_name.format(
                settings_name=name
            )

        self.registry[name] = parameters

        return parameters