public final class ConsoleViewUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Key<java.lang.Boolean> |
EDITOR_IS_CONSOLE_HISTORY_VIEW |
Constructor and Description |
---|
ConsoleViewUtil() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<Filter> |
computeConsoleFilters(Project project,
ConsoleView consoleView,
GlobalSearchScope searchScope) |
static void |
enableReplaceActionForConsoleViewEditor(Editor editor) |
static ConsoleViewContentType |
getContentTypeForToken(IElementType tokenType,
SyntaxHighlighter highlighter) |
static boolean |
isConsoleViewEditor(Editor editor) |
static boolean |
isReplaceActionEnabledForConsoleViewEditor(Editor editor) |
static void |
printAsFileType(ConsoleView console,
java.lang.String text,
FileType fileType) |
static void |
printWithHighlighting(ConsoleView console,
java.lang.String text,
SyntaxHighlighter highlighter) |
static void |
printWithHighlighting(ConsoleView console,
java.lang.String text,
SyntaxHighlighter highlighter,
java.lang.Runnable doOnNewLine) |
static void |
setupConsoleEditor(EditorEx editor,
boolean foldingOutlineShown,
boolean lineMarkerAreaShown) |
static EditorEx |
setupConsoleEditor(Project project,
boolean foldingOutlineShown,
boolean lineMarkerAreaShown) |
static DelegateColorScheme |
updateConsoleColorScheme(EditorColorsScheme scheme) |
public static final Key<java.lang.Boolean> EDITOR_IS_CONSOLE_HISTORY_VIEW
public static EditorEx setupConsoleEditor(Project project, boolean foldingOutlineShown, boolean lineMarkerAreaShown)
public static void setupConsoleEditor(EditorEx editor, boolean foldingOutlineShown, boolean lineMarkerAreaShown)
public static DelegateColorScheme updateConsoleColorScheme(EditorColorsScheme scheme)
public static boolean isConsoleViewEditor(Editor editor)
public static boolean isReplaceActionEnabledForConsoleViewEditor(Editor editor)
public static void enableReplaceActionForConsoleViewEditor(Editor editor)
public static void printWithHighlighting(ConsoleView console, java.lang.String text, SyntaxHighlighter highlighter)
public static void printWithHighlighting(ConsoleView console, java.lang.String text, SyntaxHighlighter highlighter, java.lang.Runnable doOnNewLine)
public static ConsoleViewContentType getContentTypeForToken(IElementType tokenType, SyntaxHighlighter highlighter)
public static void printAsFileType(ConsoleView console, java.lang.String text, FileType fileType)
public static java.util.List<Filter> computeConsoleFilters(Project project, ConsoleView consoleView, GlobalSearchScope searchScope)