Community
    • Login

    The quotation mark expands the folded code

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 4 Posters 398 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.
    • Rioko NefeliskR
      Rioko Nefelisk
      last edited by Rioko Nefelisk

      The problem is that all the folded code below the input quotation mark is expanded, since the effect of this quotation mark goes to all lines below. This applies to PHP syntax highlighting for example.

      With the js syntax, this is not observed, since the influence of the open quote goes only to the end of the line.

      How can this be influenced?

      php1.png

      php2.png

      js1.png

      js2.png

      PeterJonesP F 2 Replies Last reply Reply Quote 1
      • PeterJonesP
        PeterJones @Rioko Nefelisk
        last edited by

        @Rioko-Nefelisk ,

        Different languages have different folding rules. Those rules are compiled into a component in Notepad++, and I don’t think you can change them.

        1 Reply Last reply Reply Quote 1
        • F
          Fragility1840 @Rioko Nefelisk
          last edited by

          @Rioko-Nefelisk said in The quotation mark expands the folded code:

          The problem is that all the folded code below the input quotation mark is expanded, since the effect of this quotation mark goes to all lines below. This applies to PHP syntax highlighting for example.

          this appears to affect powershell code as well.

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

            For the Powershell case, there’s a Notepad++ “issue”, see HERE.

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