# Cannot highlight text that includes text search results

**URL:** <https://forum.paperpile.com/t/cannot-highlight-text-that-includes-text-search-results/748>\
**Category:** Support\
**Tags:** resolved, pdf-annotations, search\
**Created:** [September 21, 2015, 5:35pm UTC](https://forum.paperpile.com/t/cannot-highlight-text-that-includes-text-search-results/748 "2015-09-21T17:35:07Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrey](https://forum.paperpile.com/user_avatar/forum.paperpile.com/andrey/32/1761_2.png) [@Andrey](https://forum.paperpile.com/u/Andrey)\
**Post date:** [September 21, 2015, 5:35pm UTC](https://forum.paperpile.com/t/cannot-highlight-text-that-includes-text-search-results/748/1 "2015-09-21T17:35:07Z")

</div>

If a text area that needs to be highlighted includes a highlight for the searched items, it appears to be impossible to highlight it.

---

<div class="post-metadata">

**Author:** ![andreas](https://forum.paperpile.com/user_avatar/forum.paperpile.com/andreas/32/36_2.png) [@andreas](https://forum.paperpile.com/u/andreas)\
**Post date:** [September 23, 2015, 5:19pm UTC](https://forum.paperpile.com/t/cannot-highlight-text-that-includes-text-search-results/748/2 "2015-09-23T17:19:18Z")

</div>

Thanks for reporting. We tracked it down, and it will be fixed with the next release.

---

<div class="post-metadata">

**Author:** ![Andrey](https://forum.paperpile.com/user_avatar/forum.paperpile.com/andrey/32/1761_2.png) [@Andrey](https://forum.paperpile.com/u/Andrey)\
**Post date:** [September 24, 2015, 3:51am UTC](https://forum.paperpile.com/t/cannot-highlight-text-that-includes-text-search-results/748/3 "2015-09-24T03:51:05Z")

</div>

Great, happy to hear the beast is squashed!

---

<div class="post-metadata">

**Author:** ![nelas](https://forum.paperpile.com/user_avatar/forum.paperpile.com/nelas/32/46_2.png) [@nelas](https://forum.paperpile.com/u/nelas)\
**Post date:** [November 18, 2015, 6:38pm UTC](https://forum.paperpile.com/t/cannot-highlight-text-that-includes-text-search-results/748/4 "2015-11-18T18:38:54Z")

</div>

I noticed the same problem today. I guess the “next release” is not live yet, but informing just in case.

---

<div class="post-metadata">

**Author:** ![Courtney\_R](https://forum.paperpile.com/user_avatar/forum.paperpile.com/courtney_r/32/839_2.png) [@Courtney\_R](https://forum.paperpile.com/u/Courtney_R)\
**Post date:** [September 20, 2017, 5:15pm UTC](https://forum.paperpile.com/t/cannot-highlight-text-that-includes-text-search-results/748/5 "2017-09-20T17:15:51Z")

</div>

I am having this issue now (Sept. 2017), although it was supposed to be fixed two years ago. I can search, find the keyword was looking for, but I cannot highlight the sentence unless I first clear the search term. I have (hopefully) attached a screenshot, where you can see the highlight tool is selected, the text is cursor-selected, but it doesn’t highlight. I was able to reproduce the same error in a JSTOR and PLoS One paper, but not in a PeerJ paper. I am using Google Chrome.

 ![](https://forum.paperpile.com/uploads/default/original/1X/7c984ec99376fd63dc068b1f5eb4231fcc78025a.png)

---

<div class="post-metadata">

**Author:** ![Andrey](https://forum.paperpile.com/user_avatar/forum.paperpile.com/andrey/32/1761_2.png) [@Andrey](https://forum.paperpile.com/u/Andrey)\
**Post date:** [September 22, 2017, 4:42pm UTC](https://forum.paperpile.com/t/cannot-highlight-text-that-includes-text-search-results/748/6 "2017-09-22T16:42:46Z")

</div>

It sounds like in this case it is specific to the PDF, so you might want to share the PDF to help reproduce the issue.

---

<div class="post-metadata">

**Author:** ![Courtney\_R](https://forum.paperpile.com/user_avatar/forum.paperpile.com/courtney_r/32/839_2.png) [@Courtney\_R](https://forum.paperpile.com/u/Courtney_R)\
**Post date:** [September 25, 2017, 2:20pm UTC](https://forum.paperpile.com/t/cannot-highlight-text-that-includes-text-search-results/748/7 "2017-09-25T14:20:55Z")

</div>

It’s certainly not unique to one PDF, as I have now found the error in 3/5 papers. I can’t upload the file here, so here’s a link to one of the articles that reproduced the error.

> **[Sun Basking in Red Wood Ants Formica polyctena (Hymenoptera, Formicidae):...](https://paperpile.com/shared/h3lfo7)**
>
> Kadochová Š, et al. PLoS One, 2017 ABSTRACT: In early spring, red wood ants Formica polyctena are often observed clustering on the nest surface in large numbers basking in the sun. It has been hypothesized that sun-basking behaviour may contribute to...

---

<div class="post-metadata">

**Author:** ![jason](https://forum.paperpile.com/user_avatar/forum.paperpile.com/jason/32/445_2.png) [@jason](https://forum.paperpile.com/u/jason)\
**Post date:** [June 25, 2018, 5:03pm UTC](https://forum.paperpile.com/t/cannot-highlight-text-that-includes-text-search-results/748/8 "2018-06-25T17:03:59Z")

</div>

Yesterday’s update to the PDF Annotator included many fixes and improvements including a fix for this issue.

---

<div class="post-metadata">

**Author:** ![Andrey](https://forum.paperpile.com/user_avatar/forum.paperpile.com/andrey/32/1761_2.png) [@Andrey](https://forum.paperpile.com/u/Andrey)\
**Post date:** [June 25, 2018, 7:12pm UTC](https://forum.paperpile.com/t/cannot-highlight-text-that-includes-text-search-results/748/9 "2018-06-25T19:12:25Z")

</div>

Thanks!

I noticed that in the older version, I was able to click “h” to highlight the selected text, but now this shortcut is not working. Is this intended, or it’s a new bug?

---

<div class="post-metadata">

**Author:** ![jason](https://forum.paperpile.com/user_avatar/forum.paperpile.com/jason/32/445_2.png) [@jason](https://forum.paperpile.com/u/jason)\
**Post date:** [June 25, 2018, 8:30pm UTC](https://forum.paperpile.com/t/cannot-highlight-text-that-includes-text-search-results/748/10 "2018-06-25T20:30:35Z")

</div>

That is a bug. Until we get this fixed (hopefully soon), use the number keys 1-4 to highlight selected text. The numbers correspond to the different colors, so it is an easy way to highlight in different colors.

---

<div class="post-metadata">

**Author:** ![Andrey](https://forum.paperpile.com/user_avatar/forum.paperpile.com/andrey/32/1761_2.png) [@Andrey](https://forum.paperpile.com/u/Andrey)\
**Post date:** [June 26, 2018, 2:12pm UTC](https://forum.paperpile.com/t/cannot-highlight-text-that-includes-text-search-results/748/11 "2018-06-26T14:12:46Z")

</div>

Thank you @jason!

Another question: in the previous version, there was a status indicator showing if the changes are synced to Google Drive, but in the current version it is gone. Not that I need it, if the saving is reliable and instantaneous - that indicator is a nuisance, but just wanted to check this is also expected.

Thank you for this very nice update. I am particularly happy about the rectangle highlight issue, since it is often the case that text highlight does not work reliable (probably due to document formatting, since I see the same behavior for those documents in Mac Preview), and rectangle will be very handy in those cases.

---

<div class="post-metadata">

**Author:** ![jason](https://forum.paperpile.com/user_avatar/forum.paperpile.com/jason/32/445_2.png) [@jason](https://forum.paperpile.com/u/jason)\
**Post date:** [June 26, 2018, 9:58pm UTC](https://forum.paperpile.com/t/cannot-highlight-text-that-includes-text-search-results/748/12 "2018-06-26T21:58:49Z")

</div>

The indicator is no longer needed; we register the changes to the annotations on our server and then write and sync the file shortly thereafter, but the viewer does not have to be open for that.
