Community
    • Login

    Notepad++ Parser Question

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 796 Views 1 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.
    • Jason McDanielJ Offline
      Jason McDaniel
      last edited by

      Hey, Everyone!

      I’m working for a company and we are interested in trying to leverage an already existing parser if it is available for us to leverage into our own code base.

      Could y’all help me understand where the parser component of Noetpad++ is located in the code so that I can try and extract it for our own use?

      Thanks so much!

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Offline
        PeterJones @Jason McDaniel
        last edited by

        @Jason-McDaniel ,

        The parsers (each language has a separate parser) are inherited from the scintilla library / sub-component. The versions in the Notepad++ source code are at https://github.com/notepad-plus-plus/notepad-plus-plus/tree/master/scintilla/lexers .

        But you might consider doing what Notepad++ does, and just including the entirety of the Scintilla library in your project, so you’d get the lexers and more.

        Jason McDanielJ 1 Reply Last reply Reply Quote 2
        • Jason McDanielJ Offline
          Jason McDaniel @PeterJones
          last edited by

          @PeterJones Thanks so much for the details! 👍

          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