Page 1 of 1

Code highlighted making it unreadable

Posted: Wed Jun 22, 2016 10:59 am
by akincer
Product, version and build: PrimalScript 2016 7.2.90
32 or 64 bit version of product: 64 bit
Operating system: Windows 7
32 or 64 bit OS: 64 bit

Opened an existing PHP script written with another tool and most of the script is highlighted in yellow starting right after the opening brace. It makes most of the code illegible. Clicking right after the semicolon at the end of the highlighted block causes some of the highlight to disappear, but scrolling up brings it back. This makes PrimalScript functionally useless for me.

Any ideas?

Thanks.

Re: Code highlighted making it unreadable

Posted: Wed Jun 22, 2016 11:02 am
by akincer
Attached a picture showing what I'm talking about.

Re: Code highlighted making it unreadable

Posted: Wed Jun 22, 2016 11:06 am
by Alexander Riedel
Without seeing it, that is hard to judge. I do not know what skin and editor theme you have selected.
it sounds like the server-side script background.
File - Options - Text Editor - Colors
Select HTML - Server-side script
Select another color for the background or select "Default" to not color server side scripts with a special background.

Re: Code highlighted making it unreadable

Posted: Wed Jun 22, 2016 11:29 am
by akincer
This has got to be a bug in the install process. This is a fresh install. I've attached a pic showing where the highlighting ends and also where it disappears when I click in the code right after the semicolon at the end of the highlighting.

There WAS a setting in colors causing it, but like I said -- I changed nothing from the default install, so it appears the install had non-default colors by default that didn't work the whole way through the script anyway. Kind of strange.

Re: Code highlighted making it unreadable

Posted: Wed Jun 22, 2016 11:44 am
by akincer
Changing to defaults seems to have fixed it. Thanks!