WinMerge like component? lazarus / 31-LCL ---------------------------------------------------------------------- MisterE · 2014-07-09 17:47 Is there a component to compare 2 textfiles and show the differences  (with colors)? I found TDiff for Delphi. It works, but the layout is screwed (probably fixable). But if there is a native (supported) component I like to use that. ---------------------------------------------------------------------- howardpc · 2014-07-09 19:33 The Lazarus IDE has a diff tool built in. See the main menu Tools->Diff... Click the Help button in Diff dialog for more information. ---------------------------------------------------------------------- MisterE · 2014-07-09 19:39 thanks for the reply, but i'm looking for a component. I want to make a application which can compare text files. ---------------------------------------------------------------------- Blaazen · 2014-07-09 20:16 Well, Lazarus is Open Source, so you can at least look at the code to see how it is done or eventually reuse some code (it depends on the license too). EDIT: There is also another open source program - Double Commander, a file manager written in Lazarus, which has this feature too. ---------------------------------------------------------------------- MisterE · 2014-07-10 18:25 Funny, DC is also using this TDiff component. But the compare interface is looking much better in Lazarus than the sample code of TDiff. I will borrow some code of DC for my program. Thanks for the help! ---------------------------------------------------------------------- MisterE · 2014-07-10 20:19 I've stripped most stuff from DC to get a "compare only" screen. See attachment