-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"private member" comes with wrong foreground color #292
Comments
Do not set foreground color for the private member. It has higher precedence over method, field, property etc., so it can override your specific style on those elements. |
I altered the precedence of private member and sealed member. Now they have lower precedence. |
Hi,
yes, I tried it and this looks great.
Something unrelated to this topic:
If I click on “All Languages” in the menu on the left, VS freezes for about a minute, and then crashes.
Shall I open a new issue for that?
Heinz
Von: WMJ ***@***.***>
Gesendet: Montag, 7. August 2023 03:34
An: wmjordan/Codist ***@***.***>
Cc: Heinz Kessler ***@***.***>; Author ***@***.***>
Betreff: Re: [wmjordan/Codist] "private member" comes with wrong foreground color (Issue #292)
I altered the precedence of private member and sealed member. Now they have lower precedence.
Please try the new beta.
—
Reply to this email directly, view it on GitHub <#292 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AF2XTUSCUQAU7ZVEKGJ27I3XUBAXXANCNFSM6AAAAAA3F5CN3U> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AF2XTUQJMFZT2KX7X63IQTLXUBAXXA5CNFSM6AAAAAA3F5CN3WWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTDLVB7I.gif> Message ID: ***@***.*** ***@***.***> >
|
Yes, please. And please take a look at the Windows Event Viewer and find out corresponding entry there, where a stack trace is logged. |
In my understanding, format settings add up from the lowest row in the list to the highest, so that every row modifies the format settings of the rows below it, see screenshot.
But wherever there is a "private member" attribute somewhere in the list, this fixes the foreground color to grey, regardless of the foreground color settings of the rows above.
In my case, "Method" should set the foreground color to dark orange, but "private member" below inhibits this and makes the foreground color stay grey. This also applies to private properties, fields etc. instead of methods.
Sometimes I manage to make it work correctly, but I can't tell how, and only until the next start of VS.
Note: The opacity of 12 for "private member" shall dim al subsequent colors if it's a private method, property etc.
Interestingly this bug only applies to the foreground color, not the background color.
CodistStyles.zip
I am using version 7.7. Beta
The text was updated successfully, but these errors were encountered: