react-diff-view icon indicating copy to clipboard operation
react-diff-view copied to clipboard

A git diff component

Results 12 react-diff-view issues
Sort by recently updated
recently updated
newest added

hey @otakustay, First of all Thanks for going ahead and making the changes also, really appreciate it. and sorry, for being inactive for a while I got busy in some...

pinned

![image](https://github.com/otakustay/react-diff-view/assets/23393023/d0eea7f1-3f44-4e0e-9010-0128bbf47b70) 类似于这样子

Comment on left side on split view shows on the whole length - include right side. Is it possible that it shows only on length left side for which it...

IntelliJ have three-column view that allows fixing conflicts by choosing edits from left/right. What would it take to create something like that with this package?

Unfortunately, I didn't fully get the idea on how to use the library. How I can build something similar that I can see on the screenshots? Initially, when I went...

pinned

@otakustay 你好,请帮忙看下,我们本地使用react-diff-view插件后,同样的源文件和新文件比对出来的结果和gitlab的比对的结果有差异,如下图: 插件的: ![Xnip2023-07-28_10-20-14](https://github.com/otakustay/react-diff-view/assets/10841183/7f827d63-2096-4ebd-a208-a097735da1ea) gitlab的截图: ![Xnip2023-07-28_10-26-48](https://github.com/otakustay/react-diff-view/assets/10841183/732d6cea-e71f-48d5-a1d1-aa3889db7f58) 如上面gitlab的截图,代码提交的时候也是,左边删除112,113,114行右边新增109,110行 左边删除118,119行,右边新增114,115,116行 但是插件diff的时候错行diff了,请问下有办法或者参数修改插件的对比精度

stale

I can't copy the empty line after tokenizing my diff: ![image](https://github.com/otakustay/react-diff-view/assets/13199771/deed6d5c-fe0f-4dad-8f25-ec9c01787049)

stale

Yes, theoretically `react-diff-view` supports virtual list, users can manipulate diff objects into many many hunks and have each hunk loaded by scroll, however this is not perfect: 1. Manipulating hunks...

pinned

https://github.com/otakustay/react-diff-view/blob/72868c24b781b26671eb51b94e203a5c9ccf14e3/src/styles/index.css#L77 Assuming that the rendered code is like this ```html onU pdat e ``` When I use ctrl+f to search for "onUpdate" on the webpage, I cannot find the above...

pinned