Hard to explain, easier to show:
If I press Enter
at the end of this line
a:b():c(
it becomes
a:b():c(
end
This happens any time the is a left-parenthesis after a method call.
For example, this does it too:
a:b()(
As does
a:b()textHere[]*&^(