Page 1 of 1

History Viewer -- "compare code"

Posted: Sat Jan 12, 2013 6:11 pm
by jassing
Would be nice if you could compare code in history viewer with other versions in history viewer and/or files saved on disk.

As an example; the pb ide crashed on me sometime last night. History viewer showed "Unexpected close" - and had some code in there -- the only way for me to be sure I had saved the file before hand is to save it to a new file, then compare the two files manually. Would be nice to be able to, right in archive viewer, "Compare to saved version" "Compare to saved-file" "Compare to previous/other history-viewer version"

In one case, the history viewer had some code I had been working on. I had saved it to a file, but history viewer had it under "unsaved" - so having the option to pick a file to compare to would be very useful, in addition to other history viewer versions.

Re: History Viewer -- "compare code"

Posted: Sat Jan 12, 2013 8:31 pm
by Rings
on a sidenote, you can use winmerge (http://winmerge.org)
with commandline to compare 2 files (or directorys).

winmerge.exe file1 file2

i use it daily at work :)

Re: History Viewer -- "compare code"

Posted: Sun Jan 13, 2013 2:26 am
by jassing
Rings wrote:on a sidenote, you can use winmerge (http://winmerge.org)
with commandline to compare 2 files (or directorys).

winmerge.exe file1 file2

i use it daily at work :)
Right-- you can, I use windiff; but still -- if it's an unsaved work, or something 'back in history' -- you have to save both versions, then compare it - it would be nice to be able to compare w/o having to save versions to disk; and then compare manually -- possibly loosing sight on what you meant to compare.

Re: History Viewer -- "compare code"

Posted: Sun Jan 13, 2013 3:07 am
by freak
More is planned for the history viewer. It just wasn't possible in time for this release.