Closed
Description
Describe the bug
This is a weird one, it seems like the formatter triggers wrapping at a specific string length, even though this is a multi-line string literal and the characters are thus not even in the same line? With one a
less it doesn't happen.
Input file
class Main {
public static function main() {
animatedSprite.frames = FlxAtlasFrames.fromLibGdx(sourceSprite.pixels, '
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
');
}
}
Broken output
class Main {
public static function main() {
animatedSprite.frames = FlxAtlasFrames.fromLibGdx(sourceSprite.pixels,
'
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
');
}
}