# Does Find/Replace search in the Script Module Editor?

**URL:** <https://forum.inductiveautomation.com/t/does-find-replace-search-in-the-script-module-editor/2653>\
**Category:** Ignition\
**Created:** [February 17, 2011, 4:02pm UTC](https://forum.inductiveautomation.com/t/does-find-replace-search-in-the-script-module-editor/2653 "2011-02-17T16:02:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlThePal](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/althepal/32/3603_2.png) [@AlThePal](https://forum.inductiveautomation.com/u/AlThePal)\
**Post date:** [February 17, 2011, 4:02pm UTC](https://forum.inductiveautomation.com/t/does-find-replace-search-in-the-script-module-editor/2653/1 "2011-02-17T16:02:21Z")

</div>

When we try to carry out a search, it doesn’t seem to be searching the code in the Script Module Editor.

---

<div class="post-metadata">

**Author:** ![AlThePal](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/althepal/32/3603_2.png) [@AlThePal](https://forum.inductiveautomation.com/u/AlThePal)\
**Post date:** [February 18, 2011, 12:10pm UTC](https://forum.inductiveautomation.com/t/does-find-replace-search-in-the-script-module-editor/2653/2 "2011-02-18T12:10:08Z")

</div>

It doesn’t seem to be searching in a window’s internalFrameActivated code either. Can you publish a list of where it is searching?

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [February 18, 2011, 2:57pm UTC](https://forum.inductiveautomation.com/t/does-find-replace-search-in-the-script-module-editor/2653/3 "2011-02-18T14:57:57Z")

</div>

Hi,

I verified that the script modules are currently being searched correctly. This should make it into 7.2.4. I’ll have to look into the window events.

Regards,

---

<div class="post-metadata">

**Author:** ![AlThePal](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/althepal/32/3603_2.png) [@AlThePal](https://forum.inductiveautomation.com/u/AlThePal)\
**Post date:** [April 15, 2011, 9:19am UTC](https://forum.inductiveautomation.com/t/does-find-replace-search-in-the-script-module-editor/2653/4 "2011-04-15T09:19:59Z")

</div>

Having used the Find/Replace function in v7.2.5 we can confirm that it is not searching within a window’s internalFrameActivated event. We have a lot of code in this event in different windows and we really need to be able to include it in a search.

We have run into a number of other problems with search and replace. Chief among these is that replace doesn’t actually work (!). We have also noticed that having the Find/Replace window open causes real problems with window focus if you have another code window open. Often you can open a code window and highlight some text, but when you press , it asks if you want to delete the control i.e. the focus is still on the underlying window, not on the code editor.

There are also still issues with window locking - it would appear that Find/Replace cannot safely be used in a multi-developer environment.

Finally, we found we couldn’t search on whole words e.g. a search for ‘print’ would also return all occurrences of ‘fingerprint’.

Find/Replace is a great feature but appears to need more work before it can be relied on.

---

<div class="post-metadata">

**Author:** ![AlThePal](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/althepal/32/3603_2.png) [@AlThePal](https://forum.inductiveautomation.com/u/AlThePal)\
**Post date:** [April 27, 2011, 7:02pm UTC](https://forum.inductiveautomation.com/t/does-find-replace-search-in-the-script-module-editor/2653/5 "2011-04-27T19:02:24Z")

</div>

Bump

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [April 29, 2011, 10:43pm UTC](https://forum.inductiveautomation.com/t/does-find-replace-search-in-the-script-module-editor/2653/6 "2011-04-29T22:43:32Z")

</div>

I’ve made a ticket out of the issues you described above, we’ll get to them.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [June 21, 2011, 4:21pm UTC](https://forum.inductiveautomation.com/t/does-find-replace-search-in-the-script-module-editor/2653/7 "2011-06-21T16:21:46Z")

</div>

Most of these issues have been resolved in 7.2.7 (Window properties/scripts, replace not working for scripts on closed windows, and the locking issues)
