Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #25481
    jic
    Participant

    Hi. Please use these two strings to compare:
    Untitled-1
    Pline;OpCo
    PR0000013622;AGR-NET
    PR0000013622;AGR-UIL
    PR0000013622;AGR-REN

    Untitled-2
    SCard;OpCo
    PR0000013622;AGR-NET
    PR0000013622;AGR-REN
    PR0000013622;AGR-UIL

    Compare it. Why does the compare function thinks that a line is missing? It should just highlight the difference. I can see if there was something like this,
    Untitled-2
    SCard;OpCo
    PR0000013621;AGR-NET
    PR0000013622;AGR-NET
    PR0000013622;AGR-REN
    PR0000013622;AGR-UIL

    Untitled-1
    Pline;OpCo
    PR0000013620;AGR-NET
    PR0000013622;AGR-NET
    PR0000013622;AGR-UIL
    PR0000013622;AGR-REN

    This one, I can understand the missing lines, but the first one, should just highlight the difference. Thanks.

    #25483
    Patrick C
    Participant

    The way I see it, this is intended behaviour.

    Compare doesn’t indicate a new line. Instead it merely tells you that line 3 of Untitled-1 matches line 4 of Untitled-2.

    TotalCommander’s and Notepad++’s compare behaves exactly the same as EmEditor’s.

    Winmerge however behaves more like what your description of what to expect.

    As you already started the topic of comparing:
    @Yutaka: I know that its an horrendous amount of work, but Notepad++’s compare plugin is awesome. Would be cool if there were a way to implement something similar. Same goes for search, where NP++ also shines, but with respect to csv, large files and speed EmEditor is still way ahead. On the other hand, I can live quite comfortably with running EmEditor and the other two in parallel.

    #25484
    jic
    Participant

    Well, you see it wrong. :-) As well as NP++ and TotalCommander. :-) If you have 1000 lines on both, the assumption should be to try to match line by line. Specially if the first 13 characters for both sides are the same

    Patrick C, since you started it, @Yutaka, I love your tool, the best ever. But, the comparison in two different windows or screens, it’s a bit tough. Sometimes you forget and then, you end up losing one side. Anyway, I do like Notepad++ way of doing it in one screen. Also, since we are talking about comparison, it would be great to be able to push the comparison to HTML. That way, you can save it and pass the report to other folks. Anyway, thanks for this wonderful tool.

    josé

    #25485
    Patrick C
    Participant

    Thinking about it:
    I might scribble a comparison macro which starts either Winmerge or Notepad++ from within Emeditor. Currently I’m too busy for this, though I’ll get back to this post should I ever find time to do this.
    Cheers,
    Patrick

    #25486
    jic
    Participant

    Hi Patrick. I was kidding when I said you were wrong. :-) And no need to do a script. I already have a few of them written. So, thanks for the offer. :-)

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.