The code proofreader at best doesn't work when there are tabs on the line, and at worst corrupts the line.
I've tried fixing it, and the following appears to work, although I've not extensively tested it, especially to see if it breaks something else.
In GX_OtaUtils.GxOtaGetPreceedingCharactersInLine, replace "EditPos.Col - 1" with "CharPos.CharIndex" in the following two places:
Your proposed fix works. Thanks.
Last edit: Thomas Mueller 2018-03-16