Verified Owner
Top Description Fields Constructors Methods
org.jabref.gui.mergeentries.threewaymerge.diffhighlighter

public final Class SplitDiffHighlighter

extends DiffHighlighter
Class Inheritance
Imports
java.util.List, org.jabref.gui.mergeentries.threewaymerge.DiffMethod, com.github.difflib.DiffUtils, com.github.difflib.patch.AbstractDelta, org.fxmisc.richtext.StyleClassedTextArea

A diff highlighter in which changes are split between source and target text view. They are represented by an addition in the target text view and deletion in the source text view.

Field Summary

Inherited from org.jabref.gui.mergeentries.threewaymerge.diffhighlighter.DiffHighlighter:
diffMethodsourceTextviewtargetTextview

Constructor Summary

AccessConstructor and Description
public
SplitDiffHighlighter(StyleClassedTextArea sourceTextview, StyleClassedTextArea targetTextview, DiffMethod diffMethod)

Method Summary

Modifier and TypeMethod and Description
public int
getPositionInText(int positionInTokenList, List<String> tokenList)

public void
Inherited from org.jabref.gui.mergeentries.threewaymerge.diffhighlighter.DiffHighlighter:
getDiffMethodgetSeparatorjoinsplitString

Constructor Detail

SplitDiffHighlighterback to summary
public SplitDiffHighlighter(StyleClassedTextArea sourceTextview, StyleClassedTextArea targetTextview, DiffMethod diffMethod)

Method Detail

getPositionInTextback to summary
public int getPositionInText(int positionInTokenList, List<String> tokenList)
highlightback to summary
public void highlight()

Implements abstract org.jabref.gui.mergeentries.threewaymerge.diffhighlighter.DiffHighlighter.highlight.

Annotations
@Override