Skip to content

Commit

Permalink
Only show base conflict lines when preference says so
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusDoe committed Oct 22, 2023
1 parent 0c78636 commit fbf62ce
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ conflictLines: aConflict on: aStream
({(SquotTextUtilities monospace: self conflictMarkerLeft), ' current'},
aConflict left).
self baseColor ->
({(SquotTextUtilities monospace: self conflictMarkerBase), ' base'},
aConflict original,
{SquotTextUtilities monospace: self conflictMarkerSeparator}).
(SquotPreferences showBase
ifTrue: [
{(SquotTextUtilities monospace: self conflictMarkerBase), ' base'},
aConflict original,
{SquotTextUtilities monospace: self conflictMarkerSeparator}]
ifFalse: [
{SquotTextUtilities monospace: self conflictMarkerSeparator}]).
self rightColor ->
(aConflict right,
{(SquotTextUtilities monospace: self conflictMarkerRight), ' incoming'}).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"conflict" : "mad 9/7/2023 19:47",
"conflict:" : "mad 9/7/2023 19:49",
"conflictIntervalAndResolutionSurrounding:in:" : "mad 10/22/2023 17:45",
"conflictLines:on:" : "mad 9/10/2023 18:34",
"conflictLines:on:" : "mad 10/22/2023 18:28",
"conflictMarkerBase" : "mad 9/10/2023 13:24",
"conflictMarkerLeft" : "mad 9/10/2023 13:24",
"conflictMarkerRight" : "mad 9/10/2023 13:25",
Expand Down

0 comments on commit fbf62ce

Please sign in to comment.