Thread:Pecoes/@comment-3562424-20120422041911/@comment-3508190-20120424053507

It may be possible to extract parts of FindReplace_2.js so you can enhance your code with them, but it would be much much much simpler - not only for me - if you would work with FindReplace_2.js instead. It's got the same features as your code. It actually has a few more. That's what I meant when I said it's a superset of your current code. Separating the Shadow code from the UI code in FindReplace_2.js would essentially mean killing those extra features. If you think some of the extra features are a bad idea or if you think the UI design is bad or if you would like to structure the code in a completely different way, we need to talk about that before we continue... But otherwise: Work with FindReplace_2.js, please!