Patch Set 1:

I'm not fully sold on this change yet.  In theory it seems like this will be faster to handle the common headers on files like the copyright notice.  But I'm not fully convinced that it correctly updates the Edit with new begin/end positions for every case.

Like the hash code change, I wrote this while I wasn't the most lucid, so its probably full of even more bugs than my usual quota.  :-)