Community
    • Login

    auto completion function (BUG)

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 3 Posters 2.1k 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.
    • coldevC
      coldev
      last edited by

      hello i haves the last 7.3.3 notepad …

      my language haves more 20 custom functions…

      auto complete only list first 10 definitions…

      please help …

      my definition files xml to test…

      download

      1 Reply Last reply Reply Quote 0
      • coldevC
        coldev
        last edited by

        Please help …

        Autocomplete functions haves a Bug … please help…

        1 Reply Last reply Reply Quote 0
        • Jim DaileyJ
          Jim Dailey
          last edited by

          The functions (and keywords, if any) must be sorted in proper alphabetic order. If they are not, then you might not see some or all of them in the list.

          1 Reply Last reply Reply Quote 0
          • coldevC
            coldev
            last edited by

            Thanks 4 your reply… God Bless You

            Then i order the xml keys and works !!!

            i use this tool to order…
            https://github.com/gbsandeep/XmlSorter

            sortxml.exe -i …/bennugdClasified.xml -o …/bennugd.xml -d 2

            1 Reply Last reply Reply Quote 0
            • guy038G
              guy038
              last edited by guy038

              Hi, All,

              Don’t forget to add, too, in the APIs, for the .xml file, relative to your language, the line <Environment ignoreCase="no" />, which must be located right after the <AutoComplete> OR the <AutoComplete language="...."> line.

              It may help to point on the first word, with the same case of the letter(s) typed !

              For memory, AFAIK, the complete syntax of the Environment node, for a specific language, could be, for instance :

              <Environment ignoreCase="no" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" additionalWordChar="$" />

              Best Regards,

              guy038

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