Extract duplicated find_section code.
Fix mapped position when breaking up indented code.
Remove whitespace only leading lines from indented blocks.