Editing code layout and structure