diff --git a/Frontend Angular 4/src/app/layout/matefun/codemirror/addons/functions_definition_EN.js b/Frontend Angular 4/src/app/layout/matefun/codemirror/addons/functions_definition_EN.js
index aa3c04037d95cae5d0ddc04dfde4a05ac9a42713..f27a7f3dbb0367e6b9bc69856afa190eb8eddc43 100644
--- a/Frontend Angular 4/src/app/layout/matefun/codemirror/addons/functions_definition_EN.js	
+++ b/Frontend Angular 4/src/app/layout/matefun/codemirror/addons/functions_definition_EN.js	
@@ -190,10 +190,6 @@ var mac = /Mac/.test(navigator.platform);
       elt.className = className;
       if (cur.render) cur.render(elt, data, cur);
       else { 
-        var title = ownerDocument.createElement("p");
-        title.className = "function-definition-title";
-        title.appendChild(ownerDocument.createTextNode("Function's typing \n"));
-        elt.appendChild(title);
         var rexp_name = new RegExp(/(.*\:\:)(.*)/.source, "g");
         var m = rexp_name.exec(cur.displayText || getText(cur));
         var b_elem = ownerDocument.createElement("b"); 
diff --git a/Frontend Angular 4/src/app/layout/matefun/codemirror/addons/functions_definition_ES.js b/Frontend Angular 4/src/app/layout/matefun/codemirror/addons/functions_definition_ES.js
index d85d7b330b142942de39e87acd07c5f8f7130a8c..8e8c0442c6b4ada82af4d854ec2d730bc73507d5 100644
--- a/Frontend Angular 4/src/app/layout/matefun/codemirror/addons/functions_definition_ES.js	
+++ b/Frontend Angular 4/src/app/layout/matefun/codemirror/addons/functions_definition_ES.js	
@@ -190,10 +190,6 @@ var mac = /Mac/.test(navigator.platform);
       elt.className = className;
       if (cur.render) cur.render(elt, data, cur);
       else { 
-        var title = ownerDocument.createElement("p");
-        title.className = "function-definition-title";
-        title.appendChild(ownerDocument.createTextNode("Tipado de la función \n"));
-        elt.appendChild(title);
         var rexp_name = new RegExp(/(.*\:\:)(.*)/.source, "g");
         var m = rexp_name.exec(cur.displayText || getText(cur));
         var b_elem = ownerDocument.createElement("b"); 
diff --git a/Frontend Angular 4/src/app/layout/matefun/matefun.component.html b/Frontend Angular 4/src/app/layout/matefun/matefun.component.html
index f605a748b96efe61be7134c2f2f9e6d21ca6274e..a4b29eba9269bc53b34200cc1ffcbc66ffd1407a 100755
--- a/Frontend Angular 4/src/app/layout/matefun/matefun.component.html	
+++ b/Frontend Angular 4/src/app/layout/matefun/matefun.component.html	
@@ -219,7 +219,6 @@
                     </form>
                 </div>
                 <codemirror
-                    #codemirror_def
                     class="codemirrorPrograma"
                     [(ngModel)]="archivoDefinicion.contenido"
                     [config]="configCodeMirrorDefinicion"
diff --git a/Frontend Angular 4/src/app/layout/matefun/matefun.component.ts b/Frontend Angular 4/src/app/layout/matefun/matefun.component.ts
index d7c190bba129d1bd37f603b95a7cee3acc9c0344..92cbfd0d1ef3d71baf5db34071e4ac1305d6461f 100755
--- a/Frontend Angular 4/src/app/layout/matefun/matefun.component.ts	
+++ b/Frontend Angular 4/src/app/layout/matefun/matefun.component.ts	
@@ -111,7 +111,7 @@ export class MateFunComponent {
         },
         files: null
     };
-    configCodeMirrorDefinicion: any;
+    configCodeMirrorDefinicion = {};
     themes = ['3024-day', '3024-night', 'abcdef', 'ambiance-mobile', 'ambiance', 'base16-dark', 'base16-light', 'bespin', 'blackboard', 'cobalt', 'colorforth', 'dracula', 'duotone-dark', 'duotone-light', 'eclipse', 'elegant', 'erlang-dark', 'hopscotch', 'icecoder', 'isotope', 'lesser-dark', 'liquibyte', 'material', 'mbo', 'mdn-like', 'midnight', 'monokai', 'neat', 'neo', 'night', 'panda-syntax', 'paraiso-dark', 'paraiso-light', 'pastel-on-dark', 'railscasts', 'rubyblue', 'seti', 'solarized', 'the-matrix', 'tomorrow-night-bright', 'tomorrow-night-eighties', 'ttcn', 'twilight', 'vibrant-ink', 'xq-dark', 'xq-light', 'yeti', 'zenburn']
     version: string = npm.version;
 
@@ -154,8 +154,10 @@ export class MateFunComponent {
         this.code = "my code";
         let svg : string = '';
 
-        this.configCodeMirrorDefinicion = this.configCodeMirror;
-        this.configCodeMirrorDefinicion.readOnly = true;
+        for (var key in this.configCodeMirror){
+            this.configCodeMirrorDefinicion[key] = this.configCodeMirror[key];
+        }
+        this.configCodeMirrorDefinicion['readOnly'] = true;
     }
 
 
@@ -484,8 +486,10 @@ export class MateFunComponent {
 
     goToFilesPreview(file_found, word){
         this.mostrandoDefinicion = true;
-        this.configCodeMirrorDefinicion = this.configCodeMirror;
-        this.configCodeMirrorDefinicion.readOnly = true;
+        for (var key in this.configCodeMirror){
+            this.configCodeMirrorDefinicion[key] = this.configCodeMirror[key];
+        }
+        this.configCodeMirrorDefinicion['readOnly'] = true;
         this.archivoDefinicion = this.archivosTree.archivos.filter(a => a.id == parseInt(file_found.id))[0];
         this.jump = true;  
         this.jump_word = word;