# Improve the text search in editor window

**URL:** https://forum.pinegrow.com/t/improve-the-text-search-in-editor-window/10079
**Category:** Feature Request
**Created:** [December 8, 2024, 6:55am UTC](https://forum.pinegrow.com/t/improve-the-text-search-in-editor-window/10079 "2024-12-08T06:55:28Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![GrumpyCoder](https://avatars.discourse-cdn.com/v4/letter/g/779978/32.png) [@GrumpyCoder](https://forum.pinegrow.com/u/GrumpyCoder)
#### Post date: [December 8, 2024, 6:55am UTC](https://forum.pinegrow.com/t/improve-the-text-search-in-editor-window/10079/1 "2024-12-08T06:55:28Z")

</div>

When working on my HTML source, I like to collapse the portions of the code that I consider finished. However, when I search for some text that occurs in the collapsed portion, the code is un-collapsed.

It would be nice to have an option to restrict the search (and replace) function to operate only on the portion of the code that is currently un-collapsed.
