Community
    • Login

    Function List Bug

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    6 Posts 3 Posters 4.3k 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.
    • Reza KhademiR
      Reza Khademi
      last edited by

      hi
      i have a problem with function list
      after select function list from toolbar notepad++ show function lists
      if use a space char before Function then function list dont show that function name in function list!
      thanks

      1 Reply Last reply Reply Quote 0
      • Reza KhademiR
        Reza Khademi
        last edited by

        [Edited]:

        also if use more than One TAB char then don’t show that Function Name to function list

        My Debug info:
        Notepad++ v7.4.2 (64-bit)
        Build time : Jun 18 2017 - 23:38:43
        Path : C:\Program Files\Notepad++\notepad++.exe
        Admin mode : ON
        Local Conf mode : OFF
        OS : Windows 10 (64-bit)
        Plugins : mimeTools.dll NppConverter.dll

        i test in .nsi file

        1 Reply Last reply Reply Quote 0
        • dinkumoilD
          dinkumoil
          last edited by

          You could try the upcoming update for the FunctionList parsers.

          Replace the content of the file

          C:\Users\<YourUserName>\AppData\Roaming\Notepad++\functionList.xml

          with that provided under the link above. Of course it is recommended to make a backup of this file at first.

          1 Reply Last reply Reply Quote 0
          • Reza KhademiR
            Reza Khademi
            last edited by Reza Khademi

            i do it
            FunctionList.xml to FunctionList.xml.BK
            Download FunctionList.xml New file and replace that on
            but see again that problem

            for example:
            this command show Function Test to Function List

            ;
            Section
            SectionEnd

            Function Test
            FunctionEnd
            ;

            i set Space Char Before ‘Function Test’ ==> ’ Function Test’
            and Function test Don’t Show!

            1 Reply Last reply Reply Quote 0
            • MAPJe71M
              MAPJe71
              last edited by

              Both the Function keyword and its FunctionEnd keyword need the same amount and type of indent (i.e. either space or tab) for the function to be detected by the parser.

              1 Reply Last reply Reply Quote 0
              • Reza KhademiR
                Reza Khademi
                last edited by

                Ooh! yes!
                i before Create Function use space char and also before FunctionEnd use space char and after see that function name in FunctionList…

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