Author Topic: File Diff w/23.0.2  (Read 280 times)

SeeCwriter

  • Senior Community Member
  • Posts: 131
  • Hero Points: 1
File Diff w/23.0.2
« on: August 26, 2019, 04:09:20 pm »
With SE v23.0.2, I've noticed a couple of times, when I use File Diff that sometimes an include statement or #ifdef statement is truncated at the beginning of the line.
For example, the statement "include "myfile.h"" will show on the right side frame as "lude "myfile.h"", and the left frame will have "#inc" flagged as a difference in red. And in this case, it only happens with one include statement in a list of 8 include statements.
I have only noticed this twice so far. I have a pair of files I can submit that show the issue if that would be helpful. These aren't test files, and they are not very large, about 400 lines.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2358
  • Hero Points: 131
Re: File Diff w/23.0.2
« Reply #1 on: August 26, 2019, 04:26:17 pm »
Those files and your user.cfg.xml would be helpful.  Your description is good, but a screenshot might be helpful too.
« Last Edit: August 26, 2019, 04:34:42 pm by Dan »

SeeCwriter

  • Senior Community Member
  • Posts: 131
  • Hero Points: 1
Re: File Diff w/23.0.2
« Reply #2 on: August 26, 2019, 05:14:03 pm »
See attached zip file.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2358
  • Hero Points: 131
Re: File Diff w/23.0.2
« Reply #3 on: August 26, 2019, 06:45:59 pm »
A momentary workaround for this would be not to use Source Diff, it looks like that's what is causing the problem.

Can you send me a screenshot of your options?  I cannot reproduce this so far, with my configuration or yours.  I can tell that a blank line was removed to balance the lines, but do not see why the whole #include token didn't get included in the balanced version of the file.

SeeCwriter

  • Senior Community Member
  • Posts: 131
  • Hero Points: 1
Re: File Diff w/23.0.2
« Reply #4 on: August 26, 2019, 08:26:56 pm »
Can't say that I'm surprised. Ever since I moved to Win10, SE has never worked the same, even using the same user.cfg.xml file as Win7. The list of features that don't work seems to grow by the day.
Turning off Source Diff seems to work.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2358
  • Hero Points: 131
Re: File Diff w/23.0.2
« Reply #5 on: August 26, 2019, 08:29:47 pm »
Can you post your options?  That may let me reproduce the problem so I can fix it.

SeeCwriter

  • Senior Community Member
  • Posts: 131
  • Hero Points: 1
Re: File Diff w/23.0.2
« Reply #6 on: August 26, 2019, 08:34:13 pm »
Attached.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2358
  • Hero Points: 131
Re: File Diff w/23.0.2
« Reply #7 on: August 27, 2019, 09:15:06 am »
I'm sorry, I wasn't clear.  Can you just post a screenshot of your diff options tab?

Thanks,

Dan

SeeCwriter

  • Senior Community Member
  • Posts: 131
  • Hero Points: 1
Re: File Diff w/23.0.2
« Reply #8 on: August 27, 2019, 01:47:11 pm »
Options screen shot attached.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2358
  • Hero Points: 131
Re: File Diff w/23.0.2
« Reply #9 on: August 27, 2019, 01:57:35 pm »
I've reproduced it now.  I didn't look at the original picture closely enough and assumed file 1 was snmpv3_read_cfg_A.c and snmpv3_read_cfg_B was file 2.  I'll be able to fix this.  It will not be hot fixable and may take a little while.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2358
  • Hero Points: 131
Re: File Diff w/23.0.2
« Reply #10 on: August 28, 2019, 04:57:59 pm »
I've fixed this for Beta 3 and I have a dll with the fix for you for 23.0.2.  Can you PM me an email address to send it to?