I'm using SciTE 3.2.1. In the attachments are 2 example files which are showing indentation problems.
In test.c set the cursor position at the end of line 4. After pressing enter the cursor is below the first for() loop but it should be below the second for() loop.
In test.xml set the cursor position at the end of line 1. After pressing enter there is no indentation but there should be an indentation of 1 tab.