Menu

#1 syntax highlighting works for c++ but not c

closed-accepted
nobody
None
5
2008-03-11
2008-02-07
Anonymous
No

syntax highlighting works for c++ but not c. since c++ and c are mostly the same, should be an easy fix.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    go to .config/juff/hlschemes and open the cppscheme.xml

    add c (or the fileending you have) to this line:
    <scheme name="C++" extensions="cpp;hpp;cxx;hxx;c++;h;h++;c">

     
  • Mezomish

    Mezomish - 2008-03-04

    Logged In: YES
    user_id=1887511
    Originator: NO

    Accepted. The next release will contain separate scheme for C (since C++ has more keywords than C does). This time you can use the previous advice as a temporary fix.

     
  • Mezomish

    Mezomish - 2008-03-04
    • status: open --> open-accepted
     
  • Mezomish

    Mezomish - 2008-03-11
    • status: open-accepted --> closed-accepted
     

Log in to post a comment.