Searching and shortcut to highlighting

David de Luna
David de Luna Member Posts: 48 ✭✭
edited November 2024 in English Forum

In a book I do CTRL-F, search for "communion", and press down arrow thru every instance of that word, with the entire word highlighted. Why isn't the shortcut smart enuf to know I've already got the word highlighted that I want highlighted? I have to highlight the word manually, then then hit the shortcut to highlight. It was already highlighted! Or am I doing it wrong?

Comments

  • JT (alabama24)
    JT (alabama24) MVP Posts: 36,523

    De Luna said:

    In a book I do CTRL-F, search for "communion", and press down arrow thru every instance of that word, with the entire word highlighted. Why isn't the shortcut smart enuf to know I've already got the word highlighted that I want highlighted? I have to highlight the word manually, then then hit the shortcut to highlight. It was already highlighted! Or am I doing it wrong?

    When you do a "find" search, a temporary highlight is applied to help you find what you were searching for. The reason you can't press your highlighting shortcut to apply a permanent highlight is that the text isn't selected! I understand what you would like to do, but I don't think that would really work. Imagine someone who searched for "faith" in a resource which had 250 "faith's" in it. If you could simply create a highlight, you would end up with 250 new notes! That would be a disaster.

    I wonder if visual filters would accomplish what you want better... I honestly have no idea how they work. Is your resource a bible resource or no? Here is a link to the wiki about visual filters: http://wiki.logos.com/Visual_Filter 

    macOS, iOS & iPadOS |Logs| Install
    Choose Truth Over Tribe | Become a Joyful Outsider!

  • Fred Chapman
    Fred Chapman Member Posts: 5,899 ✭✭✭

    A visual filter would work for highlighting all the occurrences of a word. This would work in any resource. However a note would not be created. 

  • Rosie Perera
    Rosie Perera Member Posts: 26,194 ✭✭✭✭✭

    alabama24 said:

    The reason you can't press your highlighting shortcut to apply a permanent highlight is that the text isn't selected! I understand what you would like to do, but I don't think that would really work. Imagine someone who searched for "faith" in a resource which had 250 "faith's" in it. If you could simply create a highlight, you would end up with 250 new notes! That would be a disaster.

    It is reasonable to expect to be able to quickly highlight any word that's found when doing a search. In Word if you search for a word, the word found is selected. So if you had a shortcut key set to apply highlighting to the current selection, you could do that, then press Shift+F4 to find the next occurrence and decide if you wanted to highlight that one as well, press your shortcut key (or not) and continue.

    It's not possible in Logos, because the Find box in a Logos resource works dynamically. As soon as you start typing a word, Logos starts scrolling down to (and temporarily highlighting) the first match. It is actually selected (as you can see if you press Escape twice to get out of the Find box), but the focus isn't there. It's in the Find box (so that you can continue typing letters and they'll go to the right place). The "focus" is the "alertness" of one particular window on the screen that is active to receive user input. Only one window can have the focus at a time. This is a characteristic of the Windows operating system. (I'm pretty sure Mac works similarly.) So in order to let you highlight the found word quickly using a keyboard shortcut (which are all simply letters of the alphabet) they'd have to set the focus back to the main resource window from the Find box. But the question is: when to do that. You're searching and finding partial words as you go. You type (and find) "faith" -- are you about to keep typing "...less" and actually are wanting to search for "faithless"? Logos can't know that. So they leave the focus up in the Find box. I don't see a way around this dilemma.

  • David de Luna
    David de Luna Member Posts: 48 ✭✭

    Thanks to all who responded. It was a great help.