fc  

Re: [FC] Single character ' in c syntax highlighting editor

Puetz, Oliver (E F PR SU)
Wed, 16 Jul 2008 01:30:34 -0700

Hello Brian,
 
yes, now it works. Thanks!
 
Oliver

________________________________

Von: [EMAIL PROTECTED] [EMAIL PROTECTED]
Im Auftrag von Brian Havard
Gesendet: Mittwoch, 25. Juni 2008 01:12
An: File Commander mailing list
Betreff: Re: [FC] Single character ' in c syntax highlighting editor


Puetz, Oliver P11T22 wrote: 

        Hello, 
         
        if I edit my c source program with the FC/W (built 2008-06-06)
internal editor, after the single character 
         
        '\''                 <- these are four characters, an
apostrophe, a slash and two apostrophes 
         
        everything following is wrongly highlighted as comment (e.g.
after if (c == '\'' ) ... ). 
        Yes, it's possible to the replace this by an octal written
character, but this should not be the final solution. :-)  
        


In the current code, the escape character is actually configurable per
"string" statement, defaulting to the value of the "escape" statement so
make sure you have the "escape" statement (IE "escape : \ :" ) before
any "string" statements and it should work.


_______________________________________________
Fc mailing list
Fc@silk.apana.org.au
http://silk.apana.org.au/mailman/listinfo/fc
Bug Tracker: http://bugs.silk.apana.org.au/