• Login
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.
  • C
    coldev
    last edited by Apr 12, 2017, 1:46 AM

    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
    • C
      coldev
      last edited by Apr 18, 2017, 2:54 PM

      Please help …

      Autocomplete functions haves a Bug … please help…

      1 Reply Last reply Reply Quote 0
      • J
        Jim Dailey
        last edited by Apr 18, 2017, 4:24 PM

        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
        • C
          coldev
          last edited by Apr 21, 2017, 5:04 PM

          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
          • G
            guy038
            last edited by guy038 Apr 22, 2017, 3:26 PM Apr 22, 2017, 3:25 PM

            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
            1 out of 5
            • First post
              1/5
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors