Author Topic: Color coding problem with Bourne Shell  (Read 580 times)

rowbearto

  • Senior Community Member
  • Posts: 1468
  • Hero Points: 111
Color coding problem with Bourne Shell
« on: September 21, 2017, 12:45:42 pm »
I uploaded a file to support.slickedit.com under "bourne_color_coding" called ce.sh.

From line 44 down, everything is colored green and I don't think it should be.

I'm using "Dark Black" color scheme (Tools->Options->Appearance->Colors) as well as the Dark Theme.

Thanks,
Rob

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2791
  • Hero Points: 422
Re: Color coding problem with Bourne Shell
« Reply #1 on: September 21, 2017, 04:13:14 pm »
That would be a bug.  It's not handling the here string correctly.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4896
  • Hero Points: 399
Re: Color coding problem with Bourne Shell
« Reply #2 on: September 21, 2017, 08:37:08 pm »
Thanks for finding this. There were similar problems with other languages which support a << here document. The regex needed to be a little smarter.

Fixed in the next build