The DiffPlex project is a combination of a .NET Diffing Library with a Silverlight and HTML diff viewer. It is released open source under the MS-PL license.
AvalonEdit is the WPF code editor control for SharpDevelop 4 -- I'm thinking about trying to add PowerShell syntax to get it to work as a code editor for PoshConsole...