[Folds] Problems with caret placement when multiple lines folded and have different text indents

when multiple lines folded and have different text indents
Merge pull request #2 from mutahhir/master

Fix for caret placement after multiple lines with different text indents are folded