Community
    • Login

    Where is file with automatic syntax highlighting?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    6 Posts 3 Posters 3.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Pete NorrisP
      Pete Norris
      last edited by

      Hello Notepad++ Forum!

      Question: Where do I find the word file that has built-in function, operator, etc. names for PHP in bold in the color blue?

      The operators if, and, or plus many of the function names are displayed in bold in the color blue.

      I want to add bind_param to the file so it is also displayed in bold in the color blue.
      http://php.net/manual/en/mysqli-stmt.bind-param.php

      Thank you in advance.

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @Pete Norris
        last edited by

        @Pete-Norris
        I think you are looking for langs.xml.
        But you can only add keywords.
        Preferred way is to use the Settings->Style Configurator window to change this.

        Cheers
        Claudia

        decodermanD 1 Reply Last reply Reply Quote 0
        • decodermanD
          decoderman @Claudia Frank
          last edited by

          @Claudia-Frank said:

          @Pete-Norris
          I think you are looking for langs.xml.
          But you can only add keywords.
          Preferred way is to use the Settings->Style Configurator window to change this.

          Cheers
          Claudia

          And it works quite well IF you know what rule triggers the quirky behavior.
          I find that I have to do it with the trial and error method to find the offending one.

          1 Reply Last reply Reply Quote 0
          • Pete NorrisP
            Pete Norris
            last edited by

            Claudia, decoderman;

            Thanks for responding. I found the Style Configurator for PHP.
            Style Configurator for PHP

            If I click on the “+” sign between the “Default keywords” and the “User-defined keywords” nothing happens. bind_param stays in the User defined keywords box.

            I can click the enter key and it won’t add bind_param.

            I found instructions on stackoverflow (1st link points user to the 2nd link)
            http://stackoverflow.com/questions/17867382/notepad-highlight-custom-keywords
            http://stackoverflow.com/questions/6430884/adding-keywords-to-ruby-syntax-highlighting-for-notepad

            I can’t remember but I may have tinkered with langs.xml file. That could be the reason I can’t get it to work.

            Thanks again.

            Claudia FrankC 1 Reply Last reply Reply Quote 0
            • Claudia FrankC
              Claudia Frank @Pete Norris
              last edited by

              @Pete-Norris

              that is absolutely ok - words defined by user stay in the user-defined keywords.
              Put it in, save&close -> Done

              Cheers
              Claudia

              1 Reply Last reply Reply Quote 0
              • Pete NorrisP
                Pete Norris
                last edited by

                @Claudia Frank

                Claudia;

                Thanks! :)

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors