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 LICENSE NUMBERS, ACTIVATION 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.
This topic is 4 years and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
gmichaud
Posts: 108
Last visit: Fri Mar 10, 2023 9:05 am

Highlighted reference colors issue

Post by gmichaud »

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 3764 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 3764 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 3764 times
Thanks,
Gerry
User avatar
Olga_B
Site Admin
Posts: 196
Last visit: Thu Mar 28, 2024 8:34 am

Re: Highlighted reference colors issue

Post by Olga_B »

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: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 19
Been upvoted: 37 times

Re: Highlighted reference colors issue

Post by Alexander Riedel »

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: 108
Last visit: Fri Mar 10, 2023 9:05 am

Re: Highlighted reference colors issue

Post by gmichaud »

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 3685 times
Screenshot - 6_3_2019 , 8_47_52 AM.png
Screenshot - 6_3_2019 , 8_47_52 AM.png (13.27 KiB) Viewed 3685 times
Thanks,
Gerry
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 19
Been upvoted: 37 times

Re: Highlighted reference colors issue

Post by Alexander Riedel »

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.
This topic is 4 years and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.