Quantcast
Channel: Open DBDiff
Viewing all articles
Browse latest Browse all 281

Created Unassigned: FEATURE REQUEST: Add some Visual Differences function [15445]

$
0
0
I have tweaked the code to provide a prototype Visual Comparison without having to add other components..

What I did...

1 - Split the New Object and Old Object tabs so that they are both always visual.
2 - Add two textboxes just below the New Object/Old Object. One is the "New Line" and the other is the "Old Line".
3 - Add an HScrollBar below the Old/New Line textboxes
4 - Adjust New/Old Objects to determine which line the caret is at and then pull that line from both New and Old Objects and drop just the line into the New/Old Line textboxes.
5 - Adjust the New scrollbars so they track each other.
6 - Adjust HScrollBar to scroll New/Old Line Textboxes together.

Then I did a few "extras"...

1 - If the lines are identical, leave New/Old Line textbox background as white. If they are different, make them Light Pink. If they are different, but only due to white space, make the background color yellow.
2 - Adjusted width of buttons and width of Schema Tree to give more space to the New Object and Old Object controls.

I did not take the step of trying to detect and color code individual lines, but that would be a nice feature. I also have not attempted to adjust the output so that each side is visually "Synced" I also did not attempt to add any sort of Next Difference or Previous Difference buttons. Each of these would be nice.

Viewing all articles
Browse latest Browse all 281

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>