Community
    • Login

    Notepad++ Parser Question

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 479 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.
    • Jason McDanielJ
      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
        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
          Jason McDaniel @PeterJones
          last edited by

          @PeterJones Thanks so much for the details! 👍

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