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
I think the custom diff render is also not working. As a way to repro, you can try setting it to (originalCode: string, newCode: string): jsdiff.Change[] => { return []; } and the diff won't disappear.
Hello,
I've been trying to make the diff-viewer highlight trailing spaces and newlines, but it does not seem to be able to do that.
I tried using different
compareMethod
values,DiffMethod.WORDS_WITH_SPACE
seemed to be the right one. However, it did not do the job.I also tried separately to use the the method from the
diff
package, and that managed to return the trailing characters.Is it something that I am missing? Should I also use it alongside other relevant props?
Cheers!
The text was updated successfully, but these errors were encountered: