# Find and replace with multiple matches loses track after first replacement

**URL:** <https://community.bear.app/t/find-and-replace-with-multiple-matches-loses-track-after-first-replacement/16720>\
**Category:** Bear Bug Report\
**Created:** [May 15, 2025, 12:52am UTC](https://community.bear.app/t/find-and-replace-with-multiple-matches-loses-track-after-first-replacement/16720 "2025-05-15T00:52:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pfarrelle](https://avatars.discourse-cdn.com/v4/letter/p/6f9a4e/32.png) [@pfarrelle](https://community.bear.app/u/pfarrelle)\
**Post date:** [May 15, 2025, 12:52am UTC](https://community.bear.app/t/find-and-replace-with-multiple-matches-loses-track-after-first-replacement/16720/1 "2025-05-15T00:52:25Z")

</div>

- **Bear Version** : 2.4.3
- **OS Version** : 18.4.2
- **What were you doing** : find and replace
- **What feature did you use** : find and replace
- **What happened** : after the first replace, the focus for all subsequent matches shifted one place to the right
- **What did you expect to happen** : the focus to remain on each match as I made changes one by one.
- 

The attached images show the sequence of events. After the first replacement the focus shifts right by one character and I can’t make the second replacement.

 ![0. list in bear](https://europe1.discourse-cdn.com/flex013/uploads/bear/original/2X/1/1632405f1da202c4e66124f11b5ed1a19df59be4.jpeg)  
 ![1. find](https://europe1.discourse-cdn.com/flex013/uploads/bear/original/2X/c/c23ff79f41cf9a438941e618790b815abed63949.jpeg)  
 ![2. replace with](https://europe1.discourse-cdn.com/flex013/uploads/bear/original/2X/f/f592ac98e0c60e2d3578cff823a3bbe70417fa9f.jpeg)  
 ![3. after first replace](https://europe1.discourse-cdn.com/flex013/uploads/bear/original/2X/7/7ca868ad785f69c91e73dc6ceb9e575e4dcdf9c1.jpeg)

---

<div class="post-metadata">

**Author:** ![trix180](https://dub1.discourse-cdn.com/flex013/user_avatar/community.bear.app/trix180/32/588_2.png) [@trix180](https://community.bear.app/u/trix180)\
**Post date:** [May 15, 2025, 7:35am UTC](https://community.bear.app/t/find-and-replace-with-multiple-matches-loses-track-after-first-replacement/16720/2 "2025-05-15T07:35:33Z")

</div>

Thanks for reporting this issue. We’ll try to provide a fix as soon as possible.

---

<div class="post-metadata">

**Author:** ![pfarrelle](https://avatars.discourse-cdn.com/v4/letter/p/6f9a4e/32.png) [@pfarrelle](https://community.bear.app/u/pfarrelle)\
**Post date:** [May 16, 2025, 3:12pm UTC](https://community.bear.app/t/find-and-replace-with-multiple-matches-loses-track-after-first-replacement/16720/3 "2025-05-16T15:12:08Z")

</div>

That was fast - fixed!
