• Login
Community
  • Login

The quotation mark expands the folded code

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
4 Posts 4 Posters 399 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.
  • R
    Rioko Nefelisk
    last edited by Rioko Nefelisk Jul 28, 2022, 1:49 PM Jul 28, 2022, 1:48 PM

    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

    P F 2 Replies Last reply Jul 28, 2022, 1:53 PM Reply Quote 1
    • P
      PeterJones @Rioko Nefelisk
      last edited by Jul 28, 2022, 1:53 PM

      @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 Sep 8, 2022, 4:54 AM

        @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
        • A
          Alan Kilborn
          last edited by Alan Kilborn Sep 8, 2022, 12:32 PM Sep 8, 2022, 12:31 PM

          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