Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    The quotation mark expands the folded code

    Help wanted · · · – – – · · ·
    4
    4
    117
    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 Nefelisk
      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

      PeterJones F 2 Replies Last reply Reply Quote 1
      • PeterJones
        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 Kilborn
            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
            Copyright © 2014 NodeBB Forums | Contributors