whole_func_string: function(editor) {
  			var syntax = editor.getSyntax();
  			
  			// get profile from syntax definition
  			var profile = require('resources').findItem(syntax, 'profile');
  			if (profile) {
  				return profile;
  			}
  			
  			switch(syntax) {
  				case 'xml':
  				case 'xsl':
  					return 'xml';
  				case 'css':
  					if (this.isInlineCSS(editor)) {
  						return 'line';
  					}
  					break;
  				case 'html':
  					var profile = require('resources').getVariable('profile');
  					if (!profile) { // no forced profile, guess from content
  						// html or xhtml?
  						profile = this.isXHTML(editor) ? 'xhtml': 'html';
  					}
  
  					return profile;
  			}
  
  			return 'xhtml';
  		}
func_code_string: function(editor) {
  			var syntax = editor.getSyntax();
  			
  			// get profile from syntax definition
  			var profile = require('resources').findItem(syntax, 'profile');
  			if (profile) {
  				return profile;
  			}
  			
  			switch(syntax) {
  				case 'xml':
  				case 'xsl':
  					return 'xml';
  				case 'css':
  					if (this.isInlineCSS(editor)) {
  						return 'line';
  					}
  					break;
  				case 'html':
  					var profile = require('resources').getVariable('profile');
  					if (!profile) { // no forced profile, guess from content
  						// html or xhtml?
  						profile = this.isXHTML(editor) ? 'xhtml': 'html';
  					}
  
  					return profile;
  			}
  
  			return 'xhtml';
  		}
func_documentation_string: Common method for detecting output profile
  @param {IEmmetEditor} editor
  @returns {String}