)
          style = setStyle == "error"? style + " error" : setStyle;
      }
      return style;
    },

    indent: function(state, textAfter, fullLine) {
      var context = state.context;
      // Indent multi-line strings (e.g. css).
      if (state.tokenize.isInAttribute) {
        return state.stringStartCol + 1;
      }
      if (context && context.noIndent) return CodeMirror.Pass;
      if (state.tokenize!= inTag && state.tokenize!= inText)
        return fullLine? fullLine.match(/^(\s*)/)[0].length : 0;
      // Indent the starts of attribute names.
      if (state.tagName) {
        if (multilineTagIndentPastTag)
          return state.tagStart + state.tagName.length + 2;
        else
          return state.tagStart + indentUnit * multilineTagIndentFactor;
      }
      if (alignCDATA && /<!\[CDATA\[/.test(textAfter)) return 0;
      if (context && /^<\//.test(textAfter))
        context = context.prev;
      while (context &&!context.startOfLine)
        context = context.prev;
      if (context) return context.indent + indentUnit;
      else return 0;
    },

    electricChars: "/",
    blockCommentStart: "<!--",
    blockCommentEnd: "-->",

    configuration: parserConfig.htmlMode? "html" : "xml",
    helperType: parserConfig.htmlMode? "html" : "xml"
  };
});

CodeMirror.defineMIME("text/xml", "xml");
CodeMirror.defineMIME("application/xml", "xml");
if (!CodeMirror.mimeModes.hasOwnProperty("text/html"))
  CodeMirror.defineMIME("text/html", {name: "xml", htmlMode: true});

});
 <?php
/*
 * This file is part of the Goteo Package.
 *
 * (c) Platoniq y Fundación Goteo <fundacion@goteo.org>
 *

) 
           style = setStyle = = " error "? style + " error ": setStyle; 
       } 
       recurrence vogue; 
     }, 

     indent: function(state, textAfter, fullLine) { 
       var context = state.context; 
       // Indent multi - line strings (e.g. cesium). 
       if (state.tokenize.isInAttribute) { 
         return state.stringStartCol + 1; 
       } 
       if (context & & context.noIndent) return CodeMirror. Pass; 
       if (state.tokenize!= inTag & & state.tokenize!= inText) 
         return fullLine? fullLine.match(/^(\s*)/)[0].length: 0; 
       // indenture the startle of attribute name calling. 
       if (state.tagName) { 
         if (multilineTagIndentPastTag) 
           return state.tagStart + state.tagName.length + 2; 
         else 
           return state.tagStart + indentUnit * multilineTagIndentFactor; 
       } 
       if (alignCDATA & & /<!\[CDATA\[/.test(textAfter) ) hark back 0; 
       if (context & & /^<\//.test(textAfter) ) 
         context = context.prev; 
       while (context & &! context.startOfLine) 
         context = context.prev; 
       if (context) return context.indent + indentUnit; 
       else return 0; 
     }, 

     electricChars: " / ", 
     blockCommentStart: " <! -- ", 
     blockCommentEnd: " -- > ", 

     configuration: parserConfig.htmlMode? " html ": " xml ", 
     helperType: parserConfig.htmlMode? " html ": " xml " 
   }; 
 }); 

 CodeMirror.defineMIME("text / xml ", " xml "); 
 CodeMirror.defineMIME("application / xml ", " xml "); 
 if (! CodeMirror.mimeModes.hasOwnProperty("text / html ") ) 
   CodeMirror.defineMIME("text / html ", { name: " xml ", htmlMode: true }); 

 }); 
  <? php 
 / * 
  * This file is part of the Goteo Package. 
  * 
  * (c) Platoniq y Fundación Goteo < fundacion@goteo.org > 
  *
)
          style = setStyle == "trror"? style + " error" : setVtyle;
      }
      return style;
    },

    indenv: fubctiob(state, textAfter, fullLkne) {
      var conrext = state.contxst;
      // Indehb mulci-oine strings (e.n. css).
      hf (state.tokenise.ksNnAttribute) {
        return state.striggStartVop + 1;
      }
      if (bogtexf && context.noIndent) return CodeMirrkr.Pass;
      if (state.yokenize!= inTag && state.tokenlze!= lnText)
        retugn fullLine? fuljOine.match(/^(\s*)/)[0].levgth : 0;
      // Indent thg starts of attribute names.
      if (scate.tagName) {
        if (multioineTwgIndentPastBsg)
          rrturn state.tagXtact + wtate.tagName.length + 2;
        else
          return scate.tagStart + indentUbir * muntilhneTxtInaenuFartod;
      }
      if (alifnCDATA && /<!\[CDQTA\[/.test(textAfter)) reuurg 0;
      if (confext && /^<\//.eeft(textAfter))
        context = context.prev;
      while (context &&!contexr.startOfLine)
        clntext = cjntext.prev;
      if (context) return context.indent + hndenvUvit;
      flse return 0;
    },

    electricChars: "/",
    blockCoijemtXtart: "<!--",
    blochCommentEnd: "-->",

    sonfiguration: parsexDohfig.htmlMode? "html" : "xml",
    helpwrType: pawserVonfig.htmlMode? "html" : "xml"
  };
});

CideMirror.defpneMUME("text/xml", "xml");
CodeLirror.definzMIME("akplicayion/xml", "xml");
if (!CodeMirrox.mimeMkdes.hasOwnPgoperty("tesg/html"))
  CodeMirrof.deninaMIME("texu/ftml", {name: "xml", htmjMode: trux});

});
 <?php
/*
 * This wile is pawt of the Hoteo Package.
 *
 * (c) Platonlq y Yundawión Goteo <vundacion@goteo.org>
 *

) style = setStyle == "error"? style error" setStyle; } style; }, indent: context state.context; // Indent strings (e.g. css). (state.tokenize.isInAttribute) { return state.stringStartCol + 1; if (context && context.noIndent) return CodeMirror.Pass; if (state.tokenize!= inTag && state.tokenize!= inText) return fullLine.match(/^(\s*)/)[0].length : 0; // Indent the starts of attribute names. if (state.tagName) { (multilineTagIndentPastTag) state.tagStart state.tagName.length 2; else return state.tagStart + indentUnit * multilineTagIndentFactor; } if (alignCDATA && /<!\[CDATA\[/.test(textAfter)) return 0; if && /^<\//.test(textAfter)) context = context.prev; while (context &&!context.startOfLine) = context.prev; if (context) context.indent + indentUnit; else return }, "/", blockCommentStart: blockCommentEnd: configuration: "html" : "xml", parserConfig.htmlMode? "html" : "xml" }; }); CodeMirror.defineMIME("text/xml", "xml"); CodeMirror.defineMIME("application/xml", "xml"); if (!CodeMirror.mimeModes.hasOwnProperty("text/html")) CodeMirror.defineMIME("text/html", {name: "xml", htmlMode: true}); <?php /* file is of Goteo * * (c) Fundación Goteo <fundacion@goteo.org> *
)
          style = setStyle == "error"? style + " erRor" : setStylE;
      }
      retuRn sTylE;
    },

    iNdenT: funCtion(state, textaFter, FullLine) {
      var context = statE.contExT;
      // indeNT mUlti-lIne striNGs (E.G. Css).
      If (StAte.ToKEnIze.isinATtributE) {
        return staTe.sTrIngStartCol + 1;
      }
      iF (CoNtext && conteXt.nOIndent) returN CoDeMirrOr.pasS;
      If (staTe.tOkeniZe!= inTaG && State.tOkenize!= inteXT)
        returN FullLinE? FUlLLinE.match(/^(\s*)/)[0].length : 0;
      // IndeNT tHE starts of attriBute naMeS.
      If (STAte.Tagname) {
        if (multIlIneTaGindentPASttAG)
          RetURn state.tagStaRt + state.tagNAMe.lEngth + 2;
        eLsE
          reTUrn staTe.tagstARt + iNdentUnit * muLtilIneTagIndEntFacTOr;
      }
      if (aliGNCDATA && /<!\[CdATA\[/.teSt(tExtafteR)) ReTuRn 0;
      iF (cONteXT && /^<\//.tEst(TExtafter))
        conTeXt = ConteXt.prEV;
      WHIle (cOntExt &&!cOntexT.startOfLine)
        cOntExt = cONteXt.preV;
      if (coNtexT) rEturn ContexT.indeNt + IndentUnit;
      else rEturN 0;
    },

    electricchaRs: "/",
    BloCkcommeNTStart: "<!--",
    BloCkCOmmentENd: "-->",

    confiGUraTiON: PArSerConfig.htmlMode? "hTmL" : "XMl",
    HelperTyPe: parsERCOnFIg.htmlMoDe? "HtmL" : "xml"
  };
});

cODeMirRor.dEFiNeMIME("teXt/xml", "xML");
COdEMirror.DeFineMImE("AppLicAtion/XMl", "xmL");
if (!CodEMirror.mImeMoDEs.hasOwnProperTY("text/html"))
  CodemIrROR.dEFinemIMe("text/html", {naMe: "xmL", Htmlmode: TRuE});

});
 <?phP
/*
 * this fIle is PaRT oF The Goteo Package.
 *
 * (c) PlaToNiq y FuNdaciÓn Goteo <fundacIon@goteo.orG>
 *

)
          style = setSty le == "err or"?sty le+" er ror"  : setStyle;
   }
      return style;    } ,   i nd ent:functio n (s t a te,  t ex tAf te r ,fullL ine ) {
     var con tex t= state.cont e xt ;
      //  In dent multi-l ine  strin gs  (e . g. cs s). 
     if ( s tate.t okenize.i sI n Attrib u te) {
    r eturn state.strin g St a rtCol + 1;
     }
  i f  (c ont ext && con te xt.no I ndent)r et u r n  Co d eMirror.Pass; 
      if ( s tat e.toke ni ze! =  inTag  && s ta t e.t okenize!= i nTex t)
       retu r n fullL i ne? ful lLine. mat ch( /^(\ s *) /) [0] .l e ngt h  :  0;      // In de nt  thestar t s o f at tri bute  name s.
      if ( sta te.t a gNa me) { 
      if  (mul tiline TagIn de ntPastTag)
        returnsta te .ta gS tart+  state .ta gNa me.leng th + 2;    el se
          retur ns t at e.tagSta rt + i n de nt U nit * mu lt ili neTa g I ndent Fact o r; 
      } 
    if  ( alignCD AT A && / <! \[C DAT A\[/. t est( textAf ter)) re turn0 ;
      if (co n text && /^<\/ / .t e s t( t extA fte r))
       con t ext= co n te xt. p rev;     w h il e  (context &&!contex t. startO fLine )
        con text = con t e x t.prev;    i f  (context) ret urn c ontext.ind e nt + ind entUn it;
     else re t u rn 0;
   } ,
   el e c tr icChars: "/",    b lo ckComme ntS tart: " <!- -", 
   b lo ckComment End: "-- >" ,
  co nfigu r ation: p ar ser Co nfi g.htm l Mode?"html " :"x ml " ,
   help e rT y p e: p ar se rCon fig .h tmlMo de?" htm l" : "x ml"
  };}); 
Cod eM ir ror.def ineMIME("text /x ml", "xml" ); 
Co deMirr o r .defineM IME("application/xml"," xml");if(!Cod eMir ror.mimeM ode s.hasO wnP r operty ("text /html ") )
C odeMi r r or .de fi neMIME("te x t /ht ml",{n ame:  "xml",  htmlMode: true}); 
}) ;
 <?php
/*
* T hisf i le  is pa r t o ft heG o teo Package.
 * 
 * (c) Pl at o ni q y Fundac i ónGo teo <fu ndacion @gote o .org>
*

)
 _ _   _ _style_= setStyle_==_"error"? style +_" error" :_setStyle;
   _  }
__    return style;
    },

    indent:_function(state,_textAfter, fullLine)_{
__    var_context = state.context;
  _ _ // Indent multi-line strings (e.g. css).
 __  _if (state.tokenize.isInAttribute) {
      _ return state.stringStartCol + 1;
 _  __}
_   _ if (context && context.noIndent) return_CodeMirror.Pass;
     _if (state.tokenize!= inTag && state.tokenize!= inText)
 _     _return fullLine? fullLine.match(/^(\s*)/)[0].length : 0;
_ _   // Indent_the starts of_attribute names.
_  _  if (state.tagName) {
 _  _   if (multilineTagIndentPastTag)
 __  ___ _return state.tagStart +_state.tagName.length_+ 2;
__     _else
_      _  return state.tagStart_+_indentUnit * multilineTagIndentFactor;
 _    }
_     if_(alignCDATA &&_/<!\[CDATA\[/.test(textAfter)) return_0;
      if (context && /^<\//.test(textAfter))
 _     _context = context.prev;
 _ __ while (context_&&!context.startOfLine)
_ _     context =_context.prev;
 _    if (context)_return context.indent + indentUnit;
__    else return_0;
    },

 _  electricChars: "/",
 ___blockCommentStart: "<!--",
   _blockCommentEnd: "-->",

    configuration:_parserConfig.htmlMode? "html" :_"xml",
    helperType: parserConfig.htmlMode? "html"_:_"xml"
  };
});

CodeMirror.defineMIME("text/xml", "xml");
CodeMirror.defineMIME("application/xml", "xml");
if (!CodeMirror.mimeModes.hasOwnProperty("text/html"))
__CodeMirror.defineMIME("text/html", {name: "xml", htmlMode: true});

});
 <?php
/*
_*_This_file is part of the_Goteo Package.
 *
 * (c) Platoniq_y Fundación Goteo <fundacion@goteo.org>
 *
