protected RtplLanguage() { super(NAME); SyntaxHighlighterFactory.LANGUAGE_FACTORY.addExplicitExtension(this, new SingleLazyInstanceSyntaxHighlighterFactory() { @NotNull protected SyntaxHighlighter createHighlighter() { return new RtplSyntaxHighlighter(); } } ); }
private BuildoutCfgLanguage() { super("BuildoutCfg"); SyntaxHighlighterFactory.LANGUAGE_FACTORY.addExplicitExtension(this, new SingleLazyInstanceSyntaxHighlighterFactory() { @NotNull protected SyntaxHighlighter createHighlighter() { return new BuildoutCfgSyntaxHighlighter(); } }); }
public PropertiesLanguage() { super("Properties", "text/properties"); SyntaxHighlighterFactory.LANGUAGE_FACTORY.addExplicitExtension(this, new SingleLazyInstanceSyntaxHighlighterFactory() { @NotNull protected SyntaxHighlighter createHighlighter() { return new PropertiesHighlighter(); } }); }
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(); } }); }
private RobotLanguage() { super(ID); SyntaxHighlighterFactory.LANGUAGE_FACTORY.addExplicitExtension(this, new SingleLazyInstanceSyntaxHighlighterFactory() { @NotNull protected SyntaxHighlighter createHighlighter() { return new RobotSyntaxHighlighter(); } }); }
private AsciiDocLanguage() { super(LANGUAGE_NAME); SyntaxHighlighterFactory.LANGUAGE_FACTORY.addExplicitExtension(this, new SingleLazyInstanceSyntaxHighlighterFactory() { @NotNull protected SyntaxHighlighter createHighlighter() { return new AsciiDocHighlighter(); } }); }