Thread:Kangaroopower/@comment-3508190-20120413185323/@comment-3508190-20120415164835

Here's an update:

I should have worked on those two bugs (missing caret/characters out of synch), but instead I thought I'd quickly add the buttons for stepping through the results to the dialog. Then I also added the buttons for smart case, regex search and a toggle for find and find/replace. And then everything got very very complicated :)

You can see the current state here:
 * test page
 * JavaScript
 * dialog (only visible in source view)

You need to disable the visual editor before you go into edit mode - at least for now. To see how the dialog is evaluated go to the Firebug (*) console and type: FindReplaceDialog.log;

I've also made you an admin on my sandbox wiki, so hack away! :)

(*) You're a Chrome user aren't you? I'm not sure if any of those console.log commands work in Chrome...