Community
    • Login

    Custom Language not recognized

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    custom language
    4 Posts 2 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.
    • Picasso CTP Offline
      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 Offline
        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 Offline
          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 Offline
            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

            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