Community
    • Login

    Timeout for time-consuming regular expression operations

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 2.6k 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.
    • Marco TorriM
      Marco Torri
      last edited by

      Hello, it would really be useful to have an option to define a maximum time for execution of search/replace operations with regular expressions.
      Sometimes after some work (without saving) I enter a wrong regexp (which would take infinite time to execute) and Notepad++ freezes forever (I lose all my work).
      It should be nice to display a popup after n seconds that asks to continue or to stop current operation.
      Thanks

      1 Reply Last reply Reply Quote 0
      • h-h-h-hH
        h-h-h-h
        last edited by

        There are already issues for this with an even better solution. Please take a look at issue #685 (“Non-blocking find/replace actions”). If you want to indicate that this feature is wanted, you could upvote in an issue comment.

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