Community
    • Login

    Custom Language not recognized

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    custom language
    4 Posts 2 Posters 2.0k 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.
    • Picasso CTP
      Picasso CT
      last edited by

      Hi, im creating a Language Definition file, building upon the Lua one that comes with Notepad++.

      My first question - is there a way to get some error messages a kind of log that notepad++ leaves if the language defintion file i place in C:\Program Files (x86)\Notepad++\plugins\APIs
      is invalid?

      If by any chance somembody wants to take a look at the result , here is a paste-bin link:
      https://pastebin.com/5mph9951

      Thank you and have a fine day

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

        @Picasso-CT

        I don’t think there is any way to know if something goes wrong (short of modifying the program’s source code).

        One issue I am aware of is that some function help may not appear if the entries in the language help file are not in strict alphabetical order.

        Picasso CTP 1 Reply Last reply Reply Quote 1
        • Picasso CTP
          Picasso CT @Jim Dailey
          last edited by

          @Jim-Dailey
          Yes, i am aware of this, thats why i sorted the Functions in the API accordingly alphabetically.
          I also presume lowercase is ascii lower - aka a - z < A - Z ?

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

            @Picasso-CT

            Zebra should appear BEFORE eagle. That is, Upper-case letters are lexically less than lower-case letters.

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