Comments (7)
Hi Yaron,
One question regarding
When comparing In One-View mode, the current file and the previous file should be compared.
Why the current file should be compared to the previous and not to the next file? Could you please explain?
I would prefer to compare the current vs. the next file.
BR,
Pavel
from compareplus.
Hello Pavel,
I was thinking of the following scenarios:
-
You start NPP and open two files in order to compare them.
In this case, practically there's no difference between previous and next.
But it can still give us a logical reference: two files, current is last and you want to compare it to previous. -
You already have some files opened and then you want to compare two other files. You open them.
If we compare "current vs. next", the newly opened file would be compared to the first old one.
Why would you prefer "current vs. next"?
Is it because "next" is activated when a file has been closed?
Best regards.
from compareplus.
Hi Yaron,
Why would you prefer "current vs. next"?
Is it because "next" is activated when a file has been closed?
No, no, nothing that "profound", just a "human" logic :) - If you have several files opened and you switch between tabs and later you decide to compare two adjacent files my "feeling" as user would be to switch to the first (left-most in the tabs order) of the files and start the comparison from it. I would assume then that it would be compared to the next file, right after it.
If I'd like to compare two files immediately after I open them in Notepad++ they will be at the end of the tabs list (I've just opened them) and then they will be compared no matter if I've selected the first or the last.
BR,
Pavel
from compareplus.
Hello Pavel,
Thanks for the explanation.
Your argument makes sense. However, I still think that the "natural" and more common workflow is "current vs. prev".
As a long time Compare user I've often come across the second scenario I've portrayed.
Would you like me to change that? Not recommended. :) :)
BTW - if "next" was always activated when another file was closed, we could shorten the code.
But if the last tab is closed, "prev" is activated.
Best regards.
from compareplus.
Hi Yaron,
The change is merged to master, good job!
Thanks.
BR
from compareplus.
Hello Pavel,
Thank you!
We might get some feedback regarding this point when you announce the new version.
Best regards.
from compareplus.
This issue was moved to jsleroy/compare-plugin#22
from compareplus.
Related Issues (20)
- Add A Screenshot To The README HOT 1
- Ignore Regex: Neither finding a suiting regex nor an "invert" option HOT 3
- Visible Lines after Clearing "Selection Compare" HOT 4
- Happy New Year HOT 1
- Missing from plugins list HOT 6
- Unexpected behavior when Ignore whitespace selected HOT 17
- When comparing two XML files and using Fold buttons, section automatically unfolds if it is only present in one file HOT 10
- [Minor Enhancement] Use System Cursor HOT 4
- Comparing two file says "match" when they are not HOT 2
- [Suggestion] Fully ignore CR/LF HOT 1
- Equalizer modifies equal lines HOT 4
- Font Size Reverts to Default after Compare HOT 3
- Mismatched lines HOT 19
- Crashes after done comparing HOT 16
- [Request] Compare "From" - "To" Column HOT 2
- Issue when using Compare alongside CSV Lint plugin HOT 8
- Resuming normal view clears the alpha channel from custom caret line background HOT 2
- Option to ignore moved lines HOT 1
- Ability to Shrink Margin Width HOT 12
- git integration improvements HOT 4
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.