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

[Suggestion] Please, add difference type filter #260

Open
VladiStep opened this issue Apr 30, 2021 · 4 comments
Open

[Suggestion] Please, add difference type filter #260

VladiStep opened this issue Apr 30, 2021 · 4 comments

Comments

@VladiStep
Copy link

It would be nice if you add the "difference type filter" - possibility to show only selected types of difference (added, missing, moved, differs...)

@pnedev
Copy link
Owner

pnedev commented May 5, 2021

This is a nice suggestion, thanks

@AlexVercammen
Copy link

+1.
A work around is to change the color assignment then revert to default if you want.
In my case, "Change Line" has been set to bright yellow so the lines would pop-out when scrolling through. But you still need to catch them and filter would isolate lines instead!

@Carm01
Copy link

Carm01 commented Jan 18, 2023

I like this enhancement, however there is no way to copy or save the displayed data. You can choose copy, but if there are non sequential lines then all the data in between will copy.

I think being able to save just the differential data would be extremely helpful.

Thanks!

@pnedev
Copy link
Owner

pnedev commented Jan 19, 2023

Hello @Carm01 ,

Yes, this behavior comes from Notepad++'s editing engine - Scintilla. When lines are hidden (so they are not visible to the user) and if you copy a block of lines around them they are also copied. This is Scintilla limitation and cannot be directly fixed by the plugin.
The only way around this is adding another 'custom copy' plugin command that manually copies only the visible lines and that new command should be used by the user in place of the standard CTRL-C (editor Copy) operation.
I will consider adding such command.

BR

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

No branches or pull requests

4 participants