When you unfold nested levels of your code the folded text in nested code is not indented. It begins on the beginning of the line with + instead of starting indented.
Do you know how to change it?

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you want the fold text to be indented at the same level as the first line of the fold, you need to prepend the indent level to the foldtext:
Here I am assuming that the string
txtis your existing foldtext, so all you need to do is add it to the end ofindent.But I am not sure if that is what you want to achieve.
EDIT:
Now I have seen your picture, I’m not sure if this is what you want. You could try stripping the leading whitespace before appending to the
+. So the foldtext you want will be something likeindent . '+' . txt.Maybe.