Post by Stefan on Aug 3, 2020 10:53:39 GMT -5
I've been playing with DIFF in v20191. Pretty darn good!
A couple of suggestions, if I may...
Results Header
It might be handy to expand the results header to include:
Whether differences were found or not, either as a 'No Differences found' or '<n> Differences found'
I do realise it says 'No differences found' on the last line if there are none, so I guess this may not be possible if the header is written before the results are known.
Which of FileA or FileB was modified most recently (if known)
eg:
FileA is: S:\Documents\dictionary.dic
FileB is: C:\USERS\STEF\Documents\dictionary.dic (NEWER)
FileA is: S:\Documents\dictionary.dic
FileB is: C:\USERS\STEF\Documents\dictionary.dic (NEWER)
In 1COL mode
Rather than showing just '-----' in the both the FileA & FileB columns, you could show Inserted lines using '+++++' and deleted lines using '-----'.
To my eyes, it is handy especially when reloading a saved DIFF comparison file and it makes a useful addition to the colour scheme. Example:
FileA FileB
***** ***** ******************* Text Data *******************
01059 01060 ARIES
01060 01061 ARIGHT
01061 ----- ARISE +S +N -ING
+++++ 01062 ARISE +S ---OSE -ING +N
01062 01063 ARISTOCRACY -IES
01063 01064 ARISTOCRAT +S
***** ***** ******************* Text Data *******************
01059 01060 ARIES
01060 01061 ARIGHT
01061 ----- ARISE +S +N -ING
+++++ 01062 ARISE +S ---OSE -ING +N
01062 01063 ARISTOCRACY -IES
01063 01064 ARISTOCRAT +S
Useability
Given that users can jump between differences using the 'LOCATE USER' command, is it worth adding a 'DIFF' operand to LOCATE as an alias for 'USER'? (Assuming the internal Parser is similar to the macro SPF_Parse function, it would be an easy change to make.)
And for ultimate luxury, you could consider 'priming' the RLOCFIND reference value with "LOCATE USER" when you create the EDIT tab from the DIFF clip data.
And for ultimate luxury, you could consider 'priming' the RLOCFIND reference value with "LOCATE USER" when you create the EDIT tab from the DIFF clip data.