#2216: Find & Replace is not JavaScript-friendly ------------------+--------------------------------------------------------- Reporter: A.M. | Type: New Feature Status: new | Priority: Normal Milestone: | Component: General Version: | Keywords: ------------------+--------------------------------------------------------- When running Find & Replace against text that is longer than a few paragraphs, the editor will run very slowly and often trigger an alert in FF, informing the user that the script is misbehaving and asking whether it should be stopped or not. This usually happens if are trying to find and replace in one go. A better way to handle this functionality is to process smaller chunks of text, say 100 lines or one paragraph at a time, and use JS timer (i.e. setTimer) to process every chunk leaving a few milliseconds between iterations.
-- Ticket URL: <http://dev.fckeditor.net/ticket/2216> FCKeditor <http://www.fckeditor.net> The text editor for Internet ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ FCKeditor-Trac mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fckeditor-trac
