Detect the indentation of code