• Login
Community
  • Login

Fold/Unfold is acting inconsistently.

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 3 Posters 260 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.
  • B
    Bob Spangenburg
    last edited by Jan 5, 2023, 8:26 PM

    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…

    P 1 Reply Last reply Jan 5, 2023, 8:37 PM Reply Quote 1
    • P
      PeterJones @Bob Spangenburg
      last edited by PeterJones Jan 5, 2023, 8:46 PM Jan 5, 2023, 8:37 PM

      @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
      • L
        ludamo 0
        last edited by ludamo 0 Jan 5, 2023, 8:52 PM Jan 5, 2023, 8:51 PM

        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
        2 out of 3
        • First post
          2/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors