Community
    • Login

    Update R language Folding in code keywords

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    foldingudl
    4 Posts 2 Posters 477 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.
    • Allan RA
      Allan R
      last edited by

      I would like to add a set of keywords, specific to the R shiny package, that would trigger code folding. Is there a way to add these to the langs.model.xml file?

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse @Allan R
        last edited by

        @Allan-R

        no, the R lexer doesn’t seem to have such functionality. Indeed, I’m not aware of any lexer providing something like this.

        1 Reply Last reply Reply Quote 0
        • Allan RA
          Allan R
          last edited by

          Is there a way to export the default R tokens? Those could then be imported as a User Defined Language which does give me the control to add folding options.

          EkopalypseE 1 Reply Last reply Reply Quote 0
          • EkopalypseE
            Ekopalypse @Allan R
            last edited by

            @Allan-R

            not exactly as an export/import action but as copy/paste for keywords.
            The keywords are listed in the langs.xml.

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