support for auto-indentation