public class ChunkExtractor
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
TextChunk [] |
createTextChunks(UsageInfo2UsageAdapter usageInfo2UsageAdapter,
java.lang.CharSequence chars,
int start,
int end,
boolean selectUsageWithBold,
java.util.List<? super TextChunk> result) |
static ChunkExtractor |
getExtractor(PsiFile file) |
static int |
getStartOffset(java.util.List<? extends RangeMarker> rangeMarkers) |
static boolean |
isHighlightedAsComment(TextAttributesKey... keys) |
static boolean |
isHighlightedAsString(TextAttributesKey... keys) |
public static ChunkExtractor getExtractor(PsiFile file)
public static int getStartOffset(java.util.List<? extends RangeMarker> rangeMarkers)
public TextChunk [] createTextChunks(UsageInfo2UsageAdapter usageInfo2UsageAdapter, java.lang.CharSequence chars, int start, int end, boolean selectUsageWithBold, java.util.List<? super TextChunk> result)
public static boolean isHighlightedAsComment(TextAttributesKey... keys)
public static boolean isHighlightedAsString(TextAttributesKey... keys)