Community
    • Login

    Functionlist Changes broke my custom functions.

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 196 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.
    • Pat SinclairP
      Pat Sinclair
      last edited by

      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?

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @Pat Sinclair
        last edited by

        @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
        • Pat SinclairP
          Pat Sinclair
          last edited by

          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