Constructor and Description |
---|
InlineFragment(TextDiffTypeEnum type,
TextRange range1,
TextRange range2) |
Modifier and Type | Method and Description |
---|---|
TextRange |
getRange(FragmentSide side) |
Fragment |
getSubfragmentAt(int offset,
FragmentSide side,
Condition<? super Fragment> condition) |
TextDiffTypeEnum |
getType() |
void |
highlight(FragmentHighlighter fragmentHighlighter) |
Fragment |
shift(TextRange range1,
TextRange range2,
int startingLine1,
int startingLine2) |
public InlineFragment(TextDiffTypeEnum type, TextRange range1, TextRange range2)
public TextDiffTypeEnum getType()
public TextRange getRange(FragmentSide side)
public Fragment shift(TextRange range1, TextRange range2, int startingLine1, int startingLine2)
public void highlight(FragmentHighlighter fragmentHighlighter)
public Fragment getSubfragmentAt(int offset, FragmentSide side, Condition<? super Fragment> condition)
getSubfragmentAt
in interface Fragment