*/
public class CfmlIndexPatternBuilder implements IndexPatternBuilder {
public Lexer getIndexingLexer(@NotNull final PsiFile file) {
if (file instanceof CfmlFile) {
Project project = file.getProject();
SqlLanguageDialect dialect = SqlDialectMappings.getMapping(project, file.getVirtualFile());
Lexer sqlLexer = LanguageParserDefinitions.INSTANCE.forLanguage(dialect).createLexer(project);
LayeredLexer cfmlLayeredLexer = new LayeredLexer(new CfmlLexer(true, project));
cfmlLayeredLexer.registerLayer(new XmlHighlightingLexer(), CfmlElementTypes.TEMPLATE_TEXT);