Author Topic: B6: Linux: Function color code can be missed  (Read 1226 times)

PiezonTM

  • Senior Community Member
  • Posts: 123
  • Hero Points: 7
B6: Linux: Function color code can be missed
« on: October 22, 2014, 04:22:11 pm »
I have the unfortunate situation of modifying code with a function definition format that I don't care for.  It did however exercise a possible problem when function names are color coded.  With the following example, the functName is not bolded to match the color coding.

Code: [Select]
int
functName
    (
    int param1,
    int param2
    )
{
}

When typing in the code the bolding on the functName disappears when the first paren is put on the next line.  For example, the following works:
Code: [Select]
int
functName (
    int param1,
    int param2
    )
{
}

Is this expected?  I suspect not.


Clark

  • Moderator
  • Senior Community Member
  • *
  • Posts: 4961
  • Hero Points: 409
Re: B6: Linux: Function color code can be missed
« Reply #1 on: October 22, 2014, 04:25:57 pm »
It's a limitation

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2831
  • Hero Points: 429
Re: B6: Linux: Function color code can be missed
« Reply #2 on: October 22, 2014, 07:37:52 pm »
If you have a fast enough machine, you can get that color coding to work using Symbol coloring.  If you just want to solve the problem for functions, you could make a custom symbol coloring scheme with rules just for coloring function names.