User to user discussion and support for UltraEdit, UEStudio, UltraCompare, and other IDM applications.

Two- and three-way text compare and merge issues.
3 posts Page 1 of 1
Hello,

I am a network engineer and all of the configurations for our networking devices are saved as text files. We use a standard template for most of our devices, but there are a lot of changes that need to be made.

I am having difficulty just changing one line from the text_a to text_b. Instead it changes the whole block. I have tried using the line mode merge without much luck. I have also tried the advanced merge only to have the whole block changed.

Does anyone know of a way to do a compare and only change one line at a time?

Any help will be greatly appreciated.

Thanks!
The merge mode Line Mode Merge (Ctrl+J) in menu Merge on using toolbar/menu mode must be enabled to merge a single line from first to second or from second to first.

Additionally a single line must be selected in both panes by clicking on the line to merge in both panes. In the attached screenshot merge_single_line_first_to_second.png the line to merge has a yellow background color in both panes.

It is also possible to merge a single line from second to first file or vice versa which is at a different position in file as the attached screenshot merge_single_line_second_to_first.png demonstrates where line 5 from second file is merged to line 7 in first file.

The lower half on both screenshots shows the result after the single line merge.

Attachments

Best regards from Austria
Thank you so much. I was missing clicking on the second pane. This is going to save me a lot of time!
3 posts Page 1 of 1
cron