public class BraceHighlightingHandler
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static LineMarkerRenderer |
createLineMarkerRenderer(boolean matched) |
static EditorHighlighter |
getLazyParsableHighlighterIfAny(Project project,
Editor editor,
PsiFile psiFile) |
static void |
lineMarkFragment(EditorEx editor,
Document document,
int startLine,
int endLine,
boolean matched)
Draws a vertical line on the gutter of
editor , covering lines of the document from the startLine to the
endLine |
static void |
showScopeHint(Editor editor,
Alarm alarm,
int leftBraceStart,
int leftBraceEnd,
IntIntFunction startComputation)
Schedules with
alarm displaying of the scope start in the editor |
public static EditorHighlighter getLazyParsableHighlighterIfAny(Project project, Editor editor, PsiFile psiFile)
public static void showScopeHint(Editor editor, Alarm alarm, int leftBraceStart, int leftBraceEnd, IntIntFunction startComputation)
alarm
displaying of the scope start in the editor
startComputation
- optional adjuster for the brace start offsetpublic static void lineMarkFragment(EditorEx editor, Document document, int startLine, int endLine, boolean matched)
editor
, covering lines of the document
from the startLine
to the
endLine
public static LineMarkerRenderer createLineMarkerRenderer(boolean matched)