jb, keep the comments coming. Glad you like Code Diff. I think it totally rocks.
YES indeed!
I'll have to checkout the Total Commander's Synchronize Dirs feature.
Just in case you don't know Total Commander I would like to mention that Total Commander is a Shareware file manager for Windows with a long history and a huge community that produced many plugins for it. Some important properties of Total Commander 7.04a are:
- very stable
- fast
- incredible feature set
- small footprint (download size is 2.10 MB)
- highly configurable and extensible (plugin interface)
- decent price for lifetime license
BUT unfortunately the default configuration of Total Commander is rather unattractive. To make Total Commander really rock it takes a while to discover the best features and to customize it.
You say Code Diff to Line Diff does not work on all machines. What happens when it does not work?
Actually I said "switching from Code Diff to Line Diff does not work at all on my machine with SlickEdit 14.0.0.7".
But anyway in the meantime I realized that problem is caused by spaces in the path of the file on the right side.
EXAMPLE:
C:\vsdiff_left test\main1.cpp
C:\vsdiff_right test\main2.cpp
If you switch from Code Diff to Line Diff mode then SlickEdit 14.0.0.7 says:
File 'C:\vsdiff_right' does not exist.Obviously some SlickEdit developer forgot to "doublequote" the filespecs.
So you wonder why it is likely that Code Diff will always make the right side read-only. Well, this is because the file on the right has been beautified like the file on the left. It no longer looks anything like the original file. Trying to unbeautify and save the right side is pretty difficult or maybe even impossible to do. We haven't yet racked our brains on this one yet but we knows it's hard. One possible solution is to allow transfers for lines which have not been beautified. This is the most common case. Some how it would need to figure out what line in the actual file were modified. I think this is doable.
Now I can imagine the difficulties and the chances that you will try to overcome them nevertheless.
Hiding long stretches of lines that match is an interesting idea. This could definitely be added since the editor already supports hiding and unhiding lines. I guess this is a different way to handle next diff. Another possibility would be to show change bars and allow you to click on them.
For example WinMerge has the change bars but I don't find them very useful. The advantage of hiding the unchanged lines is that in many cases you can see all differences with minimal effort, that is, you just need to tip the mouse wheel a little bit.