Common syntax detection method for editors that doesn’t provide any
info about current syntax scope.
@param {IEmmetEditor} editor Current editor
@param {String} hint Any syntax hint that editor can provide
for syntax detection. Default is 'html'
@returns {String}
function(editor, hint) {
			var syntax = hint || 'html';
			
			if (!require('resources').hasSyntax(syntax)) {
				syntax = 'html';
			}
			
			if (syntax == 'html' && (this.isStyle(editor) || this.isInlineCSS(editor))) {
				syntax = 'css';
			}
			
			return syntax;
		}