I'm not quite sure what's going on there but here's proof that the Lines property is based on hard line breaks. The screenshot below is from a C# 2005 Express project but I tried the same thing in VB 2005 Express and a VS.NET 2003 C# project and they all behaved the same way.