rem: if (styles && styles.length > 0) { for (var x=0; x<styles.length; x++) { var csses = null; 
add:  while (rule.indexOf(' ') === 0) rule = rule.substring(1); 
context: 	getCSSClasses : function(editor_id, doc) {		var inst = tinyMCE.getInstanceById(editor_id);		// Is cached, use that		if (inst && inst.cssClasses.length > 0)			return inst.cssClasses;		if (typeof(editor_id) == "undefined" && typeof(doc) == "undefined") {			var instance;			for (var instanceName in tinyMCE.instances) {				instance = tinyMCE.instances[instanceName];				if (!tinyMCE.isInstance(instance))					continue;				break;			}			doc = instance.getDoc();		}		if (typeof(doc) == "undefined") {			var instance = tinyMCE.getInstanceById(editor_id);			doc = instance.getDoc();		}		if (doc) {			var styles = doc.styleSheets;			if (styles && styles.length > 0) {				for (var x=0; x<styles.length; x++) {					var csses = null;					// Just ignore any errors					eval("try {var csses = tinyMCE.isIE ? doc.styleSheets(" + x + ").rules : styles[" + x + "].cssRules;} catch(e) {}");					if (!csses)						return new Array();					for (var i=0; i<csses.length; i++) {						var selectorText = csses[i].selectorText;						// Can be multiple rules per selector						if (selectorText) {							var rules = selectorText.split(',');							for (var c=0; c<rules.length; c++) {								var rule = rules[c];								// Strip spaces between selectors								while (rule.indexOf(' ') == 0)									rule = rule.substring(1);								// Invalid rule								if (rule.indexOf(' ') != -1 || rule.indexOf(':') != -1 || rule.indexOf('mceItem') != -1)									continue;								if (rule.indexOf(tinyMCE.settings['visual_table_class']) != -1 || rule.indexOf('mceEditable') != -1 || rule.indexOf('mceNonEditable') != -1)									continue;								// Is class rule								if (rule.indexOf('.') != -1) {									var cssClass = rule.substring(rule.indexOf('.') + 1);									var addClass = true;									for (var p=0; p<inst.cssClasses.length && addClass; p++) {										if (inst.cssClasses[p] == cssClass)											addClass = false;									}									if (addClass)										inst.cssClasses[inst.cssClasses.length] = cssClass;								}							}						}					}				}			}		}		return inst.cssClasses;	},
meta: 3891	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3891/e8e3862e104280a24076077196c7b5713720de70/tiny_mce_src.js/buggy/plugins/editors/tinymce/jscripts/tiny_mce/tiny_mce_src.js