MergeViewConfig
data class MergeViewConfig(val a: EditorStateConfig, val b: EditorStateConfig, val orientation: Orientation = Orientation.A_B, val revertControls: RevertDirection? = null, val highlightChanges: Boolean = true, val gutter: Boolean = true, val collapseUnchanged: CollapseConfig? = null, val diffConfig: DiffConfig = defaultDiffConfig)
Configuration for a side-by-side merge view.
Constructors
Link copied to clipboard
constructor(a: EditorStateConfig, b: EditorStateConfig, orientation: Orientation = Orientation.A_B, revertControls: RevertDirection? = null, highlightChanges: Boolean = true, gutter: Boolean = true, collapseUnchanged: CollapseConfig? = null, diffConfig: DiffConfig = defaultDiffConfig)
Properties
Link copied to clipboard
Configuration for the first editor (A).
Link copied to clipboard
Configuration for the second editor (B).
Link copied to clipboard
When given, long stretches of unchanged text are collapsed.
Link copied to clipboard
Options for the diff algorithm.
Link copied to clipboard
Whether to mark inserted and deleted text in changed chunks.
Link copied to clipboard
Controls whether editor A or editor B is shown first.
Link copied to clipboard
Controls whether revert controls are shown between changed chunks.