Community
    • Login

    How do I save fold settings in User Defined Language profile?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 107 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.
    • P AP
      P A
      last edited by

      Everytime I attempt to save a new User Define Language profile, it wipes out my fold settings.

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @P A
        last edited by

        @P-A ,

        I’ve never seen that happen.

        What version of Notepad++ are you using? If v8.9.2, there is a known bug that causes it to crash when entering keywords with too many characters; it might be you’ve found a new symptom of the same or similar bug. Giving an exact sequence of events would allow us to replicate, and to see if the upcoming fix for the crash also fixes your issue.

        If it’s with v8.9.1 or older, I’d be very surprised. But again, giving an exact sequence of events would allow us to replicate.

        Please share your ? menu’s Debug Info, and the exact steps to replicate your problem.

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

          @P-A hasn’t come back since my reply. But I had a few minutes to experiment.

          Using the published v8.9.2, I could replicate the problem:

          1. Open fresh v8.9.2
          2. Language > User Defined Language > Define your language…
          3. Folding in code 2 style: open = openfold, close = closefold
          4. Save as… = SomethingNew
          5. open disappears, but close remains
          6. Exit and restart Notepad++
          7. Language > User Defined Language > Define your language…, choose UserLanguage: SomethingNew
          8. Folding in code 2 style> open still missing, but close remains
          9. Add again open = openfold, and close the UDL dialog: it appears to be there, but repeating 6/7 will show back in condition 8 at this point.

          But, when I try the same sequence with the bugfix version from PR#17522, it works as expected (openfold doesn’t go missing at all).

          That PR will be part of v8.9.3 Release Candidate, expected Mar 14. So it looks to me like the bug has already been fixed.

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