Examples of DocumentBasedFormattingModel


Examples of com.intellij.psi.formatter.DocumentBasedFormattingModel

        }
        PsiFile file = element.getContainingFile();
        if (root == null) {
            root = new FakeBlock(file.getTextRange());
        }
        return new DocumentBasedFormattingModel(root, file.getProject(), settings, file.getFileType(), file);
    }
View Full Code Here

Examples of com.intellij.psi.formatter.DocumentBasedFormattingModel

      return new SimpleTemplateLanguageFormattingModelBuilder().createModel(element, settings);
    }
    else {
      rootBlock = getRootBlock(file, file.getViewProvider(), settings);
    }
    return new DocumentBasedFormattingModel(rootBlock, element.getProject(), settings, file.getFileType(), file);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.