Menu

#107 Incorrect syntax highlighting display

3.00_pre-releases
open
Interface (114)
5
2004-11-09
2004-11-09
HENRY
No

When you use caracter ">" or "<" in comments or inside
a string définition, the syntax highlighting unduly turn on
or off.

Example :

Define ("_droit_appli", "Droits sur l'application ===>");

the highlight is swith off after ">".

See also bugs 1029546, 1008169 & 986006.

I think the rule to solve this problem could be the
following :
- syntax highlighting swith is disabled in comments,
- syntax highlighting swithing is allowed in a string only
for sequence like "<...>" but not for lonely ">" or "<".

Discussion

  • Urs Mäder

    Urs Mäder - 2004-11-09
    • assigned_to: ursmaeder --> simbiotik
     
  • Nobody/Anonymous

    Logged In: NO

    same problem for <? and ?> inside "" (useful when we have a
    function who create dynamicly some php class we need to
    write "<?" and "?>").

     

Log in to post a comment.

MongoDB Logo MongoDB