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

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
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

  • Senior Community Member
  • Posts: 3960
  • Hero Points: 517
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: 6862
  • Hero Points: 528
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