Community
    • Login

    The quotation mark expands the folded code

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 4 Posters 827 Views 2 Watching
    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 Offline
      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 Online
        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 Offline
          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 Offline
            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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors