public abstract class ConsoleFolding
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static ExtensionPointName<ConsoleFolding> |
EP_NAME |
| Constructor and Description |
|---|
ConsoleFolding() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPlaceholderText(java.util.List<java.lang.String> lines)
Deprecated.
since 2018.1. Use
getPlaceholderText(Project, List) instead. |
java.lang.String |
getPlaceholderText(Project project,
java.util.List<java.lang.String> lines) |
boolean |
shouldBeAttachedToThePreviousLine()
Return true if folded lines should not have dedicated line and should be attached to
the end of the line above instead
|
boolean |
shouldFoldLine(Project project,
java.lang.String line) |
boolean |
shouldFoldLine(java.lang.String line)
Deprecated.
since 2018.1. Use
shouldFoldLine(Project, String) instead. |
public static final ExtensionPointName<ConsoleFolding> EP_NAME
public boolean shouldFoldLine(Project project, java.lang.String line)
project - current projectline - line to check whether it should be folded or nottrue if line should be folded, false if notpublic boolean shouldBeAttachedToThePreviousLine()
public java.lang.String getPlaceholderText(Project project, java.util.List<java.lang.String> lines)
project - current projectlines - lines to be foldednull if these lines should not be folded@Deprecated public boolean shouldFoldLine(java.lang.String line)
shouldFoldLine(Project, String) instead.line - to check if should be foldedtrue if line should be folded, false if not@Deprecated public java.lang.String getPlaceholderText(java.util.List<java.lang.String> lines)
getPlaceholderText(Project, List) instead.lines - to fold