Collect indentation in doc.