use of ool.intellij.plugin.editor.highlighter.OxyTemplateSyntaxHighlighter in project oxy-template-support-plugin by mutant-industries.
the class MatchingTagsAndJsBlock method buildLanguageFoldRegions.
@Override
protected void buildLanguageFoldRegions(@NotNull List<FoldingDescriptor> descriptors, @NotNull PsiElement root, @NotNull Document document, boolean quick) {
PsiFile file = root.getContainingFile();
FileType fileType = file.getFileType();
if (!(fileType instanceof OxyTemplateFileType)) {
return;
}
buildBraceMatcherBasedFolding(descriptors, root, document, new OxyTemplateSyntaxHighlighter());
}
Aggregations