Examples of SingleLazyInstanceSyntaxHighlighterFactory


Examples of com.intellij.openapi.fileTypes.SingleLazyInstanceSyntaxHighlighterFactory

    public JFlexLanguage() {
        super(ID);

        //somehow lang.syntaxHighlighterFactory extension won't work for me
        SyntaxHighlighterFactory.LANGUAGE_FACTORY.addExplicitExtension(this, new SingleLazyInstanceSyntaxHighlighterFactory() {
            @NotNull
            protected SyntaxHighlighter createHighlighter() {
                return new JFlexSyntaxHighlighter();
            }
        });
View Full Code Here

Examples of com.intellij.openapi.fileTypes.SingleLazyInstanceSyntaxHighlighterFactory

    private StoryLanguage() {
        super("STORY");

        //somehow lang.syntaxHighlighterFactory extension won't work for me
        SyntaxHighlighterFactory.LANGUAGE_FACTORY.addExplicitExtension(this, new SingleLazyInstanceSyntaxHighlighterFactory() {

            @NotNull
            protected SyntaxHighlighter createHighlighter() {
                return new StorySyntaxHighlighter();
            }
View Full Code Here

Examples of com.intellij.openapi.fileTypes.SingleLazyInstanceSyntaxHighlighterFactory

    public NginxLanguage() {

        super("nginx");

        SyntaxHighlighterFactory.LANGUAGE_FACTORY.addExplicitExtension(this, new SingleLazyInstanceSyntaxHighlighterFactory() {
            @NotNull
            protected SyntaxHighlighter createHighlighter() {
                return new NginxSyntaxHighlighter();
            }
        });
View Full Code Here

Examples of com.intellij.openapi.fileTypes.SingleLazyInstanceSyntaxHighlighterFactory

  private OgnlLanguage() {
    super(ID);

    SyntaxHighlighterFactory.LANGUAGE_FACTORY
        .addExplicitExtension(this, new SingleLazyInstanceSyntaxHighlighterFactory() {
          @NotNull
          protected SyntaxHighlighter createHighlighter() {
            return new OgnlHighlighter();
          }
        });
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.