public class SourceFormatter
extends java.lang.Object
| Constructor and Description |
|---|
SourceFormatter() |
| Modifier and Type | Method and Description |
|---|---|
static com.intellij.openapi.util.Pair<java.lang.String,java.lang.Integer> |
formatSource(java.lang.String name,
java.lang.String text,
java.lang.String parentNodeId,
boolean tryColorer,
int startLine)
Tries to highlight and then formats source code as HTML numbered list
|
public static com.intellij.openapi.util.Pair<java.lang.String,java.lang.Integer> formatSource(java.lang.String name,
java.lang.String text,
java.lang.String parentNodeId,
boolean tryColorer,
int startLine)
name - source file name to help deduce languagetext - source textparentNodeId - list node idtryColorer - try to highlightstartLine - list start line number