Author Topic: 25.0.2 vsdiff doesn't use my color scheme  (Read 397 times)

jnairb

  • Senior Community Member
  • Posts: 235
  • Hero Points: 11
25.0.2 vsdiff doesn't use my color scheme
« on: June 07, 2021, 05:00:50 pm »
After installing SlickEdit 25.0.2, running a standalone vsdiff no longer uses my color scheme. It also doesn't seem to use any of my default diff options. Starting a diff from within SlickEdit seems normal.

How do I get the standalone diff to use my config?

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2680
  • Hero Points: 143
Re: 25.0.2 vsdiff doesn't use my color scheme
« Reply #1 on: June 07, 2021, 05:12:12 pm »
Do you normally specify your config when you launch SlickEdit?  Do you put it somewhere other than the default?

What platform are you on?

jnairb

  • Senior Community Member
  • Posts: 235
  • Hero Points: 11
Re: 25.0.2 vsdiff doesn't use my color scheme
« Reply #2 on: June 07, 2021, 06:05:52 pm »
I'm on Windows 10 x64. My config is under C:\Users\BrianJongekryg\SlickEdit. I have the SLICKEDITCONFIG environment variable set to that directory. I don't specify the config directory when I start SlickEdit and it finds it OK.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2680
  • Hero Points: 143
Re: 25.0.2 vsdiff doesn't use my color scheme
« Reply #3 on: June 07, 2021, 06:09:49 pm »
OK.  What happens if you run "vsdiff -sc C:\Users\BrianJongekryg\SlickEdit <file1> <file2>"?

jnairb

  • Senior Community Member
  • Posts: 235
  • Hero Points: 11
Re: 25.0.2 vsdiff doesn't use my color scheme
« Reply #4 on: June 07, 2021, 06:13:28 pm »
When I add -sc C:\Users\BriangJongekryg\SlickEdit, vsdiff comes up with my normal color scheme and options.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2680
  • Hero Points: 143
Re: 25.0.2 vsdiff doesn't use my color scheme
« Reply #5 on: June 07, 2021, 06:37:07 pm »
I have to figure out why we don't pick up VSLICKCONFIG in this case.

In the meantime, the easiest workaround would be to copy C:\Users\BrianJongekryg\SlickEdit\25.0.2\user.cfg.xml to "C:\Users\BrianJongekryg\Documents\My SlickEdit Config\25.0.2".

jnairb

  • Senior Community Member
  • Posts: 235
  • Hero Points: 11
Re: 25.0.2 vsdiff doesn't use my color scheme
« Reply #6 on: June 07, 2021, 07:19:43 pm »
That does work as a temp workaround. I don't think that default config directory (My SlickEdit Config) even existed prior to this 25.0.2 update (or if it did, it was empty). It only contains a config directory for 25.0.2 now.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2680
  • Hero Points: 143
Re: 25.0.2 vsdiff doesn't use my color scheme
« Reply #7 on: June 08, 2021, 05:41:49 pm »
If you've always had a SLICKEDITCONFIG variable set since you installed on that machine you wouldn't have anything there. Running vsdiff probably copied the default configuration and put it there.