Community
    • Login

    auto completion function (BUG)

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 3 Posters 2.3k Views 2 Watching
    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 Offline
      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 Offline
        coldev
        last edited by

        Please help …

        Autocomplete functions haves a Bug … please help…

        1 Reply Last reply Reply Quote 0
        • Jim DaileyJ Offline
          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 Offline
            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 Offline
              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

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors