Syntax highlighting multi line bug

If the text on a line exceeds the width of the text view and causes a line break the syntax highlighting fails as it doesn’t seem to account for line breaks and instead continues across.

It is difficult to notice at first as it seems your text is just continuing along the top but you are in fact on a new line. This causes it to look like text has been duplicated.

Here is an example:

Thanks jgarnham. This is something I’m aware of but is a little difficult to fix.

The fix I have in mind may make the text rendering performance slightly slower on iPad 1. So I am going to have to see whether it is worth the trade-off.

Good to know you are aware of the bug. :slight_smile: