Sublime Forum

Button to abort runaway search and replace

#1

Right now, I have a file with about a million lines, and I’m trying to run a relatively simple regex search and replace command (s/^(.+)\t(.+)$/$2\t$1/).

SublimeText has been frozen for over an hour, so I’d like to kill the application. But there’s an unsaved file open in another tab that I don’t want to lose.

But what if there was a command to abort the currently-running regex-replacement operation?

0 Likes