• Login
Community
  • Login

Notepad++ Parser Question

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 480 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.
  • J
    Jason McDaniel
    last edited by Aug 6, 2020, 2:13 PM

    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!

    P 1 Reply Last reply Aug 6, 2020, 3:09 PM Reply Quote 0
    • P
      PeterJones @Jason McDaniel
      last edited by Aug 6, 2020, 3:09 PM

      @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.

      J 1 Reply Last reply Aug 6, 2020, 3:11 PM Reply Quote 2
      • J
        Jason McDaniel @PeterJones
        last edited by Aug 6, 2020, 3:11 PM

        @PeterJones Thanks so much for the details! ๐Ÿ‘

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