Author Topic: SE 19 Linux: Line Comment Color Coding Problem  (Read 2452 times)

PiezonTM

  • Senior Community Member
  • Posts: 131
  • Hero Points: 7
SE 19 Linux: Line Comment Color Coding Problem
« on: January 06, 2015, 07:01:04 pm »
I was trying to add a "New Line comment" for a user defined language and I'm seeing something odd.  If I add "Use delimiter": "2:" or "1:" then hit Apply then OK.  The line comment does not work.  When I return to check the setting I find the "2:" has changed to "2+" and the "1:" has changed to "1+".  Is there something special about having a number then a colon?    Does this delimiter support regular expressions or something of the sort?  A regular expression would be a welcome development.

[Ubuntu 14.04, SE 19.0.0.14 64-bit]

Sandra

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 754
  • Hero Points: 36
Re: SE 19 Linux: Line Comment Color Coding Problem
« Reply #1 on: January 07, 2015, 02:39:16 pm »
Reproduced.  I'll see what's going on.

Sandra

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 754
  • Hero Points: 36
Re: SE 19 Linux: Line Comment Color Coding Problem
« Reply #2 on: January 07, 2015, 05:11:42 pm »
I have a fix for this, but unfortunately it is not hot-fixable, so it won't be available until 19.0.2.  The problem was with any delimiter that began with a digit.

Thanks for the bug report!

PiezonTM

  • Senior Community Member
  • Posts: 131
  • Hero Points: 7
Re: SE 19 Linux: Line Comment Color Coding Problem
« Reply #3 on: January 07, 2015, 05:16:48 pm »
Thanks so much for the information. 

Am I also correct is assuming this does not support regular expressions? I'm looking to create a user defined language definition for gcov but I need something that is "[space][anynumber]:" indicates a comment.  Thanks.

Sandra

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 754
  • Hero Points: 36
Re: SE 19 Linux: Line Comment Color Coding Problem
« Reply #4 on: January 07, 2015, 06:24:42 pm »
No, it does not support regular expressions. 

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5957
  • Hero Points: 467
Re: SE 19 Linux: Line Comment Color Coding Problem
« Reply #5 on: January 08, 2015, 12:15:51 am »
At some point we will add regex support to the color coding engine. Its on the back burner at the moment but it's on the list.