Compare text / diff tools with Cocoa?

  • I want to compare the contents of two NSTextFields (old one in memory
    and one edited by the user). The idea is to find out in what locations
    the text field has been changed.
    I wonder if I can use the Unix diff tool for this (as it only seems to
    work with files, and even then I have no idea to call it from Cocoa).
    Also BBEdit has a wonderful interface for this, but that is Carbon...

    Arthur Clemens
    _______________________________________________
    cocoa-dev mailing list | <cocoa-dev...>
    Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
    Do not post admin requests to the list. They will be ignored.
  • I want to compare the contents of two NSTextFields (old one in memory
    and one edited by the user). The idea is to find out in what locations
    the text field has been changed.
    I wonder if I can use the Unix diff tool for this (as it only seems to
    work with files, and even then I have no idea to call it from Cocoa).
    Also BBEdit has a wonderful interface for this, but that is Carbon...

    Arthur Clemens
    _______________________________________________
    cocoa-dev mailing list | <cocoa-dev...>
    Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
    Do not post admin requests to the list. They will be ignored.
previous month january 2003 next month
MTWTFSS
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Go to today