Unknown pseudoclasses

2005-07-09
2012-11-13
  • Nobody/Anonymous

    My version of Notepad++ (I have v3.0) seems to consider every pseudoclass in CSS unknown, though they are all listed in the css.api file.

    What can be wrong?

     
    • Don HO

      Don HO - 2005-07-09

      the api file and the keyword list are 2 different things.
      If you want to add all the keywords of api file to keyword list, you have to modify "lang.xml" which is located in the same directory of Notepad++.exe.

      Don

       
    • Nobody/Anonymous

      Shall I just modify

          <Language name="css" ext="css" commentStart="/*" commentEnd="*/">
                  <Keywords name="instre1">azimuth background background-attachment ... z-index</Keywords>
              </Language>

      to

          <Language name="css" ext="css" commentStart="/*" commentEnd="*/">
                  <Keywords name="instre1">:after :before :first
      :first-child :first-letter :first-line :focus :hover :lang :left :link :right :visited background background-attachment ... z-index</Keywords>
              </Language>

      ??

       
    • Nobody/Anonymous

      I just tried and it didn't work..

      What do I have to modify in the keywords list? And how?

       
      • Don HO

        Don HO - 2005-07-10

        In fact it's about a bug.
        I just fixed it. The correction will come with v3.1.

        The v3.1 RC will be available in 24 hours.
        I'll post in this forum when it's done.

        Don

         

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks