Highlighted reference colors issue

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
gmichaud
Posts: 88
Joined: Mon Sep 12, 2011 1:58 am

Highlighted reference colors issue

Post by gmichaud » Fri May 31, 2019 2:03 pm

Product: PrimalScript (64 Bit)
Build: v7.4.128
OS: Windows 10 Pro (64 Bit)
Build: v10.0.17763

I found a problem with highlighted references colors in dark mode. The background color changes, but not the foreground. Whatever color I choose it seems to only slightly change the 'grayness' of the text, not the color.
Screenshot - 5_31_2019 , 3_58_28 PM.png
Screenshot - 5_31_2019 , 3_58_28 PM.png (5.96 KiB) Viewed 548 times
Screenshot - 5_31_2019 , 3_44_22 PM_ver001.png
Screenshot - 5_31_2019 , 3_44_22 PM_ver001.png (41.56 KiB) Viewed 548 times

Also can't set BOLD, but italics works.

It's worse in light (non-dark) mode. Unreadable:
Screenshot - 5_31_2019 , 3_57_09 PM_ver001.png
Screenshot - 5_31_2019 , 3_57_09 PM_ver001.png (38.33 KiB) Viewed 548 times
Thanks,
Gerry

User avatar
Olga_B
Site Admin
Posts: 119
Joined: Mon May 15, 2017 9:06 am

Re: Highlighted reference colors issue

Post by Olga_B » Fri May 31, 2019 2:46 pm

Thanks for reporting this issue.
We are investigating this and will update you as soon as we have more information.

User avatar
Alexander Riedel
Posts: 7049
Joined: Tue May 29, 2007 4:43 pm

Re: Highlighted reference colors issue

Post by Alexander Riedel » Fri May 31, 2019 10:52 pm

Since it is a "highlight" setting, only the background color selected is applied. The font color remains at whatever syntax coloring dictates for the highlighted word otherwise. The same is true for "Text Selection", "Selection Margin" and "Line Highlight"
We will endeavor to make the selection dialog reflect situations where only background or foreground are applicable.
Alexander Riedel
SAPIEN Technologies, Inc.

User avatar
gmichaud
Posts: 88
Joined: Mon Sep 12, 2011 1:58 am

Re: Highlighted reference colors issue

Post by gmichaud » Mon Jun 03, 2019 6:57 am

Alexander, i'm not sure I understand. Are you saying that with the background set to black, in dark mode I should see no difference? The font color should not change? That's not what I'm seeing. No matter what I click on - click, not select - the font color changes to a white/gray. Statement, local variable, global variable, etc. all get the same color.
Screenshot - 6_3_2019 , 8_47_45 AM.png
Screenshot - 6_3_2019 , 8_47_45 AM.png (12.51 KiB) Viewed 469 times
Screenshot - 6_3_2019 , 8_47_52 AM.png
Screenshot - 6_3_2019 , 8_47_52 AM.png (13.27 KiB) Viewed 469 times
Thanks,
Gerry

User avatar
Alexander Riedel
Posts: 7049
Joined: Tue May 29, 2007 4:43 pm

Re: Highlighted reference colors issue

Post by Alexander Riedel » Mon Jun 03, 2019 7:18 am

You shouldn't be able to change the font color on these settings. If you do, it may have unexpected results.
I will investigate.
Alexander Riedel
SAPIEN Technologies, Inc.