Large Script not highlighting syntax

Has anyone had an issue when creating a large function that the syntax stops highlighting? I am currently working on a function of about 2000 lines and it stopped highlighting which is ... annoying.

Hi, could you please send us more info - DB system/version, Toad Edge version, example function
thanks.
br.
Miroslav Stanik

I cannot give you the function example only that it is 2000 lines of code. And this seems to happen after 1400 or 1500 lines.

I am running version 2.1.0.2xxx
Postgresql 11.3