Package syntaxhighlighter.theme

Examples of syntaxhighlighter.theme.ThemeRDark


        parser.setHTMLScriptBrushes(Arrays.asList(new BrushCss(), new BrushJScript()));
        // besides set, you can also add
        parser.addHTMLScriptBrush(new BrushPhp());

        // initialize the highlighter and use RDark theme
        SyntaxHighlighter highlighter = new SyntaxHighlighter(parser, new ThemeRDark());
        // set the line number count from 10 instead of 1
        highlighter.setFirstLine(10);
        // set to highlight line 13, 27, 28, 38, 42, 43 and 53
        highlighter.setHighlightedLineList(Arrays.asList(13, 27, 28, 38, 42, 43, 53));
        try {
View Full Code Here

TOP

Related Classes of syntaxhighlighter.theme.ThemeRDark

Copyright © 2018 www.massapicom. 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.