Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Notepad++ Parser Question

    General Discussion
    2
    3
    83
    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 McDaniel
      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!

      PeterJones 1 Reply Last reply Reply Quote 0
      • PeterJones
        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 McDaniel 1 Reply Last reply Reply Quote 2
        • Jason McDaniel
          Jason McDaniel @PeterJones last edited by

          @PeterJones Thanks so much for the details! 👍

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright © 2014 NodeBB Forums | Contributors