7 * @class Roo.doc.Example
8 * @extends Roo.bootstrap.Component
9 * Example Element class
10 * @cfg {String} lang (phpcode|programlisting) section type.
15 * Create a new Synopsis
16 * @param {Object} config The config object
19 Roo.doc.Example = function(config){
20 Roo.doc.Example.superclass.constructor.call(this, config);
23 Roo.extend(Roo.doc.Example, Roo.bootstrap.Component, {
29 getAutoCreate : function(){
31 // no colour highlighting in here....
40 html : String.format('{0}',this.code).replace(/\n/g, '<br/>')