Menu

#1133 Add a special case of highlighting for C-code

Completed
closed
5
2016-04-26
2016-01-19
No

Hello!

It would be awesome if Scintilla supported the special type highlighting for #if 0 ... #endif like a commentary for C-code. I understand well that implementing of highlighting of #if some_variable in common way would be a bit difficult, since it might require the full analysis of all included header files to get the value of some_variable. Because of that my proposal is to handle at least exactly #if 0 ... #endif as a special case. Since commenting of C-code with that construction let avoid the problem with commenting of C-code containing multiline comments, a lot of people use it. I think it would be very useful feature. Thank you in advance!

Discussion

  • Neil Hodgson

    Neil Hodgson - 2016-01-19
    • labels: highlight --> highlight, cpp, scintilla
    • assigned_to: Neil Hodgson
     
  • Neil Hodgson

    Neil Hodgson - 2016-04-26
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB