Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

文本相同的行,为什么也提示不同,另外能不能弄个交流群呢哈哈 #115

Closed
specialYmx opened this issue Dec 22, 2023 · 10 comments

Comments

@specialYmx
Copy link

image

@specialYmx specialYmx changed the title 文本相同的行为什么也提示不同,另外能不能弄个交流群呢哈哈 文本相同的行,为什么也提示不同,另外能不能弄个交流群呢哈哈 Dec 22, 2023
@specialYmx
Copy link
Author

比如这个第三行,文本相同也有不同的“+”和背景色

@Shimada666
Copy link
Owner

我没复现出来,能否把两段文本提供一下?

@specialYmx
Copy link
Author

我没复现出来,能否把两段文本提供一下?

原来文本
78,c
无更改的
文本

更改的文本
79,c
无更改的
文本

@specialYmx
Copy link
Author

我没复现出来,能否把两段文本提供一下?

image
就自己弄得文本,然后从vscode里复制出来的😂

@specialYmx
Copy link
Author

aaa.txt
刚发现复制过来的文本换行符都没了,这里面是我那两个文本

@Shimada666
Copy link
Owner

会不会是空格和tab的不同导致的

@specialYmx
Copy link
Author

会不会是空格和tab的不同导致的

刚刚在“无更改的”这几个字前面只加了两个空格,也是提示文本不同,有背景色啊
image

@Shimada666
Copy link
Owner

image 上一文本此处有空格

@specialYmx
Copy link
Author

image 上一文本此处有空格

感谢大佬,回复速度真快啊

@Gilbert5210
Copy link

image

@Shimada666 帮忙看下呢,我这边也不行
这行数据应该是modify,但是被显示为新增了

https://codesandbox.io/p/devbox/codediffdemo-fkwplt?file=%2Fsrc%2Fcomponents%2FHelloWorld.vue%3A10%2C11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants