Find and Replace

From: Brian Schott <>
Date: Mon, 28 Jun 2010 19:58:37 -0700

I've written a patch that prevents users from throwing Textadept into an
infinite loop when using the "Replace All" button.

Place this at line 252 (line number taken from the current find.lua in

  if (find.lua and rtext:gsub('\\[abfnrtv\\]', escapes):find(ftext))
      or (find.lua == false and ftext == rtext) then
    gui.statusbar_text = "Error: Find pattern matches replacement text"
Received on Mon 28 Jun 2010 - 22:58:37 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:49:27 EST