SlickEdit Community

Archived Beta Discussions => SlickEdit 202x Beta Discussions => SlickEdit 2021 v26 Beta Discussion => Topic started by: ahkevin on July 30, 2021, 08:57:25 AM

Title: symbol coloring bug in v26 beta1
Post by: ahkevin on July 30, 2021, 08:57:25 AM
please look into attachments.
Title: Re: symbol coloring bug in v26 beta1
Post by: Dennis on July 30, 2021, 02:08:31 PM
I see that colors are different.  Maybe I am missing something obvious, but could you explain more?  Also could you attach your user.cfg.xml?
Title: Re: symbol coloring bug in v26 beta1
Post by: ahkevin on July 31, 2021, 07:30:33 AM
They are using same config file, but the color is different.
Title: Re: symbol coloring bug in v26 beta1
Post by: Dennis on July 31, 2021, 09:19:07 PM
Please attach your user.cfg.xml from your SlickEdit configuration directory (both for 25.0.2 and 26.0.0 b1)
Title: Re: symbol coloring bug in v26 beta1
Post by: Dennis on August 06, 2021, 02:00:27 PM
This looks like it is probably a migration issue moving your custom Symbol Coloring profile from 25.0.2 to 26.0.0, but without your user.cfg.xml from 25.0.2, there is nothing I can do.
Title: Re: symbol coloring bug in v26 beta1
Post by: ahkevin on August 09, 2021, 02:01:59 AM
sorry for late, please check attachments.
Title: Re: symbol coloring bug in v26 beta1
Post by: Dennis on August 09, 2021, 04:36:22 PM
I found a bug in the color scheme migration.  However, in my testing, the symbol coloring seemed to come over correctly.  Did you encounter any other problems when you first brought up SlickEdit 2021 Beta 1?  Could you check in the "logs/stack.log" in the configuration directory for  version 26 to see if there are any problems?  (If there is no logs/stack.log, then things went OK).
Title: Re: symbol coloring bug in v26 beta1
Post by: rjpontefract on August 10, 2021, 05:31:44 AM
Hi
I also have this problem with SE 26 beta 1.  The symbol colouring configuration has replaced many of the colours that I used in SE 25.

I exported the configuration from 25.0.2 and imported it into 26.0.0 and the colours are still wrong.  No errors in vs.log and no stack.log present.

Any help restoring my symbol colouring to sane values would be appreciated.
Title: Re: symbol coloring bug in v26 beta1
Post by: ahkevin on August 10, 2021, 07:35:34 AM
I found a bug in the color scheme migration.  However, in my testing, the symbol coloring seemed to come over correctly.  Did you encounter any other problems when you first brought up SlickEdit 2021 Beta 1?  Could you check in the "logs/stack.log" in the configuration directory for  version 26 to see if there are any problems?  (If there is no logs/stack.log, then things went OK).
There was no logs/stack.log file.
Title: Re: symbol coloring bug in v26 beta1
Post by: Dennis on August 10, 2021, 01:55:46 PM
@rp:  Could you post your user.cfg.xml from your 25.0.2 configuration directory here.  Just attach it.  There's nothing private in it.  It's XML, you can look though it yourself.

@kevin:  Thanks, did you also migrate your configuration by exporting form 25.0.2 and importing into 26.0.0?
Title: Re: symbol coloring bug in v26 beta1
Post by: rjpontefract on August 10, 2021, 08:53:08 PM
Hi Dennis

I uploaded my 25.0.2 user.cfg.xml file to support with the title "current_line_colour_bug" for another topic.  It's the same file though.

Regards
Rick
Title: Re: symbol coloring bug in v26 beta1
Post by: Dennis on August 10, 2021, 11:14:33 PM
@rp:  That user.cfg.xml did not contain any symbol coloring customizations.

Some of the built-in symbol coloring rules and colors were modified in the new release, trying to improve the color choices and adding a couple new symbol coloring rules.  I do not know if this is the difference you are seeing, please give me an example.

@kevin: I tested exporting your settings form 25.0.2 and importing them into a clean 26.0.0, I still can not reproduce what you saw.
Title: Re: symbol coloring bug in v26 beta1
Post by: rjpontefract on August 10, 2021, 11:23:30 PM
Hi Dennis
Is one of the built in rules for symbol colouring the same as 25.0.2?  My local variables have turned green in 26.0.0.  I was pretty familiar with the colours in 25 and would like those same colours in 26 if possible without doing it manually.
Title: Re: symbol coloring bug in v26 beta1
Post by: Dennis on August 11, 2021, 12:09:16 AM
The symbol coloring defaults did change quite a lot between 25 and 26, especially for the light background themes. 

I am going to look into this.  I think I may have copied Symbol Coloring default colors for the Default light color scheme from the wrong place.
Title: Re: symbol coloring bug in v26 beta1
Post by: rjpontefract on August 11, 2021, 12:14:13 AM
Hi Dennis

Thanks for looking into this.  Having the option to have the colours the same as 25 would be really good!
Title: Re: symbol coloring bug in v26 beta1
Post by: ahkevin on August 11, 2021, 03:45:55 AM
@rp:  Could you post your user.cfg.xml from your 25.0.2 configuration directory here.  Just attach it.  There's nothing private in it.  It's XML, you can look though it yourself.

@kevin:  Thanks, did you also migrate your configuration by exporting form 25.0.2 and importing into 26.0.0?
yes
Title: Re: symbol coloring bug in v26 beta1
Post by: ahkevin on August 11, 2021, 03:47:13 AM
@rp:  That user.cfg.xml did not contain any symbol coloring customizations.

Some of the built-in symbol coloring rules and colors were modified in the new release, trying to improve the color choices and adding a couple new symbol coloring rules.  I do not know if this is the difference you are seeing, please give me an example.

@kevin: I tested exporting your settings form 25.0.2 and importing them into a clean 26.0.0, I still can not reproduce what you saw.
ok, thanks, i will test again.
Title: Re: symbol coloring bug in v26 beta1
Post by: Dennis on August 11, 2021, 07:30:56 PM
@rp: 

I am attaching a set of options to load with a new Default color profile, that matches the symbol coloring colors from 25.0.2 better.  In Beta3, the Default color profile will use these colors.

Also for Beta3, I am adding a new color profile named "Natural", which will be identical to "Default", but use the more natural symbol coloring choices that I initially had adopted for version 26.  I say natural here because the choices try to mirror the color choices for the symbol icons (variables green, functions magenta, etc).  You probably won't want the "Natural" scheme -- I just wanted to explain the reasoning behind those color choices, as they are used in numerous other color profiles.
Title: Re: symbol coloring bug in v26 beta1
Post by: Dennis on August 11, 2021, 07:32:07 PM
Forgot the attachment.  Doh!
Title: Re: symbol coloring bug in v26 beta1
Post by: rjpontefract on August 11, 2021, 08:13:55 PM
Hi Dennis, that's fantastic, thanks  :D