public class ScopeHighlighter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static NotNullFunction<PsiElement,TextRange> |
NATURAL_RANGER |
Constructor and Description |
---|
ScopeHighlighter(Editor editor) |
ScopeHighlighter(Editor editor,
NotNullFunction<? super PsiElement,? extends TextRange> ranger) |
Modifier and Type | Method and Description |
---|---|
void |
dropHighlight() |
void |
highlight(Pair<TextRange,java.util.List<TextRange>> ranges) |
void |
highlight(PsiElement wholeAffected,
java.util.List<? extends PsiElement> toExtract) |
public static final NotNullFunction<PsiElement,TextRange> NATURAL_RANGER
public ScopeHighlighter(Editor editor)
public ScopeHighlighter(Editor editor, NotNullFunction<? super PsiElement,? extends TextRange> ranger)
public void highlight(PsiElement wholeAffected, java.util.List<? extends PsiElement> toExtract)
public void dropHighlight()