You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the current implementation of unified-diff, ngx-diff shows There are no changes to display. and hide contents.
This is good for some application, but there would be an application want to show lines with white background to keep consistency of views between the other pairs containing actual diff.
Are there any way to do this?
The text was updated successfully, but these errors were encountered:
Hi @kyasbal. There isn't a way to do this currently. I'm not sure there is a wide need to support this, as this is the first time I have been asked for this. This library's scope is for viewing differences between text and not as a general text viewer. If two pieces of text are the same, the assumption in this library is that it will be omitted completely to avoid cluttering the display with lots of things that have stayed the same, especially if the number of things that have stayed the same is large. Consequently, I don't really expect the 'There are no changes to display' to be encountered very often either. Sorry that doesn't solve your issue but hope it explains my thinking.
In the current implementation of
unified-diff
, ngx-diff showsThere are no changes to display.
and hide contents.This is good for some application, but there would be an application want to show lines with white background to keep consistency of views between the other pairs containing actual diff.
Are there any way to do this?
The text was updated successfully, but these errors were encountered: