• Login
Community
  • Login

Functionlist Changes broke my custom functions.

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 224 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.
  • P
    Pat Sinclair
    last edited by Feb 19, 2021, 12:10 AM

    Greetings,
    Love the idea of seperating the languages into there own xml file.
    I went ahead and seperated mine out, however they no longer function, what do I need to do to enable them?

    A 1 Reply Last reply Feb 19, 2021, 12:16 AM Reply Quote 0
    • A
      Alan Kilborn @Pat Sinclair
      last edited by Feb 19, 2021, 12:16 AM

      @Pat-Sinclair

      Without posting exactly what you did, how are we to know?

      I posted my own experience with setting up Function List, with N++ 7.9.1 and later, HERE, maybe seeing that helps you?

      It’s probably also described well in the user manual too, perhaps there is a nuance described there that you missed doing?

      HERE is some info if you’re setting up a UDL (User Defined Language).

      HERE is apparently another user’s difficulty, and a solution – some nuggets there, perhaps?

      Without more detail, it’s all guesswork.

      1 Reply Last reply Reply Quote 4
      • P
        Pat Sinclair
        last edited by Feb 27, 2021, 12:54 AM

        Alan:
        Thanks so much for the response.
        I am using UDL, these languages have the extensions configured etc.
        However, I took the parser and put it in like it used to be, changed the id etc…
        for instance:

        <parser
        				displayName="p"
        				id         ="pcode.xml"
        				commentExpr="(?m-s:;.*$)"
        			>
        				<function
        					mainExpr="^DEFINE\s+\K\w+"
        				/>
        
        			</parser>
        

        I changed the overridemap.xml to contain the following, still no love.

        <association id=    "pcode.xml"      userDefinedLangName="PCODE" />
        

        Language definition:
        pcodelang.png
        Any tips…???
        Pat

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