Menu

#1 Incorrect syntax highlighting for unknown property names

Release_0.0.1
open-accepted
Editor (12)
4
2004-01-06
2004-01-06
No

When a property name such as "right-border:" is
encountered, the part "border" gets highlighted as a
known property name. Obviously, the construct should
not be highlighted at all.

Discussion

  • Christopher Lenz

    • status: open --> open-accepted
     
  • Harry Lascelles

    Harry Lascelles - 2004-02-18

    Logged In: YES
    user_id=801543

    Yep, I see that too.

    Also, some developers temporarily "kill" a property with an x
    or something

    eg:

    xbackground-color: #eeeeee;

    This should not be highlighted. (obviously!)

    I guess just check for whitespace around the matched word.
    Good stuff tho'!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.