Thank you for the update. I looked at it and it seems to work fine, except that in some cases indent guides are also displayed for empty lines (while generally they are not). Here’s the screenshot:
The line No. 77 is completely empty, no spaces.
PS: If you need the full source file to reproduce the issue, you can get it from here, the file is Record.cpp.