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

PiezonTM

  • Senior Community Member
  • Posts: 140
  • Hero Points: 8
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: 6868
  • Hero Points: 528
Re: B6: Linux: Function color code can be missed
« Reply #1 on: October 22, 2014, 04:25:57 PM »
It's a limitation

Dennis

  • Senior Community Member
  • Posts: 3961
  • Hero Points: 517
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.