Community
    • Login

    Fold/Unfold is acting inconsistently.

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 3 Posters 255 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.
    • Bob SpangenburgB
      Bob Spangenburg
      last edited by

      After I fold a function in my code, I then try to type something above that area. No matter how I fold, when I type any character, the fold unfolds and I am now typing inside what was the folded area down a couple lines or so. I have not noticed this behavior before. (I’m using 8.4.8 x64)
      Thanks…

      PeterJonesP 1 Reply Last reply Reply Quote 1
      • PeterJonesP
        PeterJones @Bob Spangenburg
        last edited by PeterJones

        @Bob-Spangenburg ,

        I cannot replicate, based on that description.

        Which version of Notepad++? whoops: reading problem
        Still, it might be helpful to share the results from your ?-menu, Debug Info: copy from that dialog and paste in your reply.

        Which language syntax highlighter is active?

        Can you show a screenshot of “before, when it was correctly folded” and “after, when the fold expanded”?

        Can you paste in the same code from your screenshot (use the </> button to put it in a text box here in the forum), so that we can easily copy/paste the code and try it ourselves in our own Notepad++ instances.

        1 Reply Last reply Reply Quote 0
        • ludamo 0L
          ludamo 0
          last edited by ludamo 0

          Yes I noticed something like this recently. I folded a few functions in a large AHK file (over 3000 lines), then started to add a new function below the folded ones and seemed to lose the folded functions? Fortunately multiple undoes saved me from starting from a backup.
          I tried it again just now but couldn’t replicate it. I am using version 8.4.8.

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