fix #24484 - bad access in SLine::linePos
Merge pull request #676 from zazula/24484-textLineCrash

fix #24484 - bad access in SLine::linePos