Buffer.Lines: regions should not contain endings of previous lines