Hi, i've been trying to put the file diff feature to practical use for some time now, and i found it was kind of very limited. Here are some ideas, which could lead to the possibility of saying i want those lines from file one, and those lines from file two, and glue that together...
For comparing 2 files only a few things are possible for a given line: 1. A line occurs in both files and is identical 2. A line occurs in both files and is different 3. A line occurs in one file only The best approach seems to set default actions for the three categories and then process exceptions. For category one, we can choose: keep those lines or ditch them possibly base the decision on a regex. For category 2 and 3, we can choose:Keep both, Ditch both, keep one, possibly based on regex condition. That is not all that hard to put in a little wizard. The most efficient way to work is by elemination i reckon. Start by specifying information you need to eliminate. The rest then comes in a new tab. Here you can mark wich lines come from which file with a color, and allow users to delete more lines with a single click. If even more advanced processing needs to be done, the result can again be compared with one of the two files, to do further elemination based on more rules... Prefferably with a possibility to store a library of regex or in a way you can put the steps with conditions and decisions in a macro so you can reuse it in batch. greets thanx for the lush proggy... nice work! -- <http://forum.pspad.com/read.php?2,42001,42001> PSPad freeware editor http://www.pspad.com
