Comments (15)
Hi Yaron,
Those are actually useful. They make compare results jump controls inactive when you haven't compared anything. Why would you need "Go to next compare result" command when you haven't actually run compare?
BR,
Pavel
from compareplus.
Hello Pavel,
It's not realty important. Just a matter of consistency.
Why is "Clear Results" always active? And you can go even further: Why is "Compare" active if only one file is open? And "Compare to last Save"?
I have "Compare", "First" (etc.) and "Clear Results" in my toolbar; so it's a bit more prominent.
I don't think we should enable/disable ALL commands and I don't know if the navigation buttons should be different.
What do you think?
Thank you.
Best regards.
from compareplus.
Hello Yaron,
Hm, you are right about "Compare", "Clear Results", etc., good point.
The reason I'm having second thoughts about the results navigation commands is because I was planning to disable "First" and "Prev" in case you are at the top of the changes or disable "Last", "Next" if you are at the last (or beyond) change respectively. I think it might be a good indication to the user but I would like to see first how complicated this would be to implement and decide if it is justified.
What do you think?
BR
from compareplus.
Hello Pavel,
That's a clever idea. I was impressed.
Thank you.
"First" and "Last":
Shouldn't these commands be enabled even if you're further up or down in the file?
"Prev" and "Next":
Implementing your suggestion would mean disabling "Wrap Around".
In NPP Search this feature is optional; Don't you think some Compare users may find it convenient?
I use a Python Script "Select and Find First".
If the current selection is the first occurrence, the indication to the user is flashing the selection for a couple of seconds.
How about flashing the first and last diffs?
I remember you don't like sound notifications. :)
Best regards.
from compareplus.
Hello Yaron,
"First" and "Last":
Shouldn't these commands be enabled even if you're further up or down in the file?
Yes, perhaps, good point.
Implementing your suggestion would mean disabling "Wrap Around".
In NPP Search this feature is optional; Don't you think some Compare users may find it convenient?
Yes, "Wrap Around" will be gone.
About the users... Well it is impossible to make everyone happy :)
I'd rather implement the things the way I like them and then get feedback from the users and correct than to wait forever until everyone agrees on a single solution.
I think it is not that hard from user perspective to use "First" if "wrap-around" is what you need. But that makes it explicit which IMHO is something good in that case.
My idea comes from all the stand-alone compare programs I've used so far - they all disable "Prev" and "Next" controls when you reach the first / last diff.
What do you think?
BR
from compareplus.
If it is possible to enquire the wrap-around setting from NPP find, you could use the same wrap-around behaviour in CP?
from compareplus.
Hello xylographe,
Thank you for the suggestion.
However I prefer to implement new Compare plugin option for Wrap mode if need be than to reuse the NPP one. That would add more flexibility.
BR
from compareplus.
Hello Pavel,
I think your suggestion is a good and useful enhancement. 👍
If making it optional wouldn't require a lot of extra work, it would be even better. :)
Thank you very much.
Best regards.
from compareplus.
Hello xylographe,
Thank you for your contribution.
I was once trying to get other settings from the Find dialog for a Python Script, and Dave (PS dev) wrote to me that it was impossible.
Best regards.
from compareplus.
Hello Yaron,
I'm about to close this issue.
I'll postpone for now the implementation of the feature we discussed until more urgent tasks are completed.
Shall I disable all other commands for consistency? I mean this:
Why is "Clear Results" always active? And you can go even further: Why is "Compare" active if only one file is open? And "Compare to last Save"?
BR
from compareplus.
Hello Pavel,
I'll postpone for now the implementation of the feature we discussed until more urgent tasks are completed.
You're the boss. :) I agree with your triage.
Shall I disable all other commands for consistency?
I think that's a good idea (so long as you haven't implemented your suggestion).
Thank you.
BR.
from compareplus.
Hello Yaron,
OK then, I'll check the other commands enable/disable later.
Keeping this open for now.
BR
from compareplus.
Hello Pavel,
Shall I disable all other commands for consistency?
I didn't read your question carefully. Sorry.
I thought you meant enabling First etc. for consistency (my original suggestion).
IMO, enabling/disabling all commands is not that important and I wonder if it's worth the work involved.
It doesn't give the user any useful indication (unlike the Save command for example).
Thank you.
from compareplus.
Hello Yaron,
All right then. I'll close this issue now and sometime later will think of implementing the idea with disabling Next / Prev when you reach the last / first diff.
Thanks.
BR
from compareplus.
Thank you very much.
BR.
from compareplus.
Related Issues (20)
- Manual plugin installation problem feedback HOT 1
- CTRL+ALT+M keyboard shortcut collision HOT 2
- "Ignore Spaces" problem with "_" character? HOT 1
- app crashes on compare HOT 3
- how to save/export result as a html file? HOT 1
- Feature request - Jump to differences within the line HOT 15
- "Next" and "Previous" skip changed lines when they are right after one another HOT 1
- [FR] Quick Switch / Flip HOT 1
- Cannot download ComparePlus plugin ZIP from my work laptop (connected via VPN) HOT 10
- Ability to Copy-Paste only new or changed strings in Show Only Diffs (Hide Matches) mode HOT 2
- Where is dll for latest version? HOT 1
- Navigation bar not showing HOT 11
- How to view .diff single file as comparison in split view? HOT 1
- Compare only the 1st part of a line HOT 4
- After exiting compare, current selected line Colors/Linter is set to black instead of light grey. HOT 5
- Large file compare causing display issues HOT 3
- Add possibility to close both files after compare HOT 7
- Show Only Diffs (Hide Matches) doesn't work HOT 2
- Perfect match text with black highlights HOT 3
- New feature request: Merge changes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compareplus.