When you close a code block by typing a closing curly brace ('}'), the editor automatically adjusts its position on the line according to your code style preferences (see "Source Code" page in the IDE Options dialog).