This is very helpful trick in translator to get all the block commands aligned in the editor.

function main(Data)
   for i=1, 1000 do
      if i == 500 then 
           trace(i)
              end
                 end
end

Before:

And after:

This is a very helpful technique for making your code easier to read and understand.

See Block statements