joverbey / oaccrefac

1 stars 1 forks source link

SourceAlteration formats out whitespace replacement #48

Open acalvert opened 8 years ago

acalvert commented 8 years ago

When replacing a chunk of text with whitespace, the formatter alters it. I.e., if replacing text with a single newline character, it gets formatted to an empty string and never gets inserted.

acalvert commented 8 years ago

The insertBefore() call in FuseLoopsAlteration is a workaround that can be removed when this is fixed.