-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 12/11/13, 24:30 , Jerry wrote:
> 
> On Dec 10, 2013, at 4:04 AM, Rainer M Krug <[email protected]>
> wrote:
> 
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>> 
>> Hi
>> 
>> Sometimes it is useful to highlight all occurrences of the
>> search term, e.g. when navigating to locations in the text where
>> a certain term occurs. Is this possible in LyX? I couldn't find
>> anything in the search dialog.
>> 
>> I am only referring to highlighting on the screen, not the 
>> compiled document.
>> 
>> Is there something I have overlooked?
>> 
>> Cheers,
>> 
>> Rainer
>> 
> This is indeed a useful function. However, there is another
> function that achieves similar results and in some ways is better.
> 
> It works like this: Once the Find function finds its first result, 
> pressing a specified key combination takes you to the next result
> no matter if the Find dialog window is open or not--there is no
> need to constantly mess with the Find dialog or remove your fingers
> from the keyboard to re-open it or to click a button.

Agreed - this would be very useful and time saving.

> 
> To find the previous occurrence of the find-string, press another
> key combination.

Also agreed - forward and backward search by keyboard would be very
useful.

> One way that this is superior to the highlight-all approach is that
> the screen is scrolled for you. In the highlight-all approach,
> scrolling to the next or previous find result can be difficult
> especially when the results are far apart.

Both are useful - It is advantageous to see all occurrences
highlighted to assess the context of the search term, but moving to
the next one by keyboard shortcut would be a very useful addition to
this - they would supplement each other. See e.g. the search in
Firefox: one Button which says "Highlight All" and one to search
backward and forward - just also via keyboard shortcuts.

> 
> When this functionality is combined with the ability to pass
> selected text to the Find function with still another key
> combination (without the need to copy the selected text, open the
> Find dialog, paste the selected text, then click some more to
> search forward or backward), the searching process becomes
> unbelievably streamlined.

Sounds great - effectively a search in the background. If pone wants
to see a dialog, just press a different key combination.

> 
> This functionality has been a standardized feature in OS X
> programs from the beginning (going on 12 years) and might have been
> present in pre-OS X OS's from Apple (I can't recall for sure).

Interesting - I am using Mac, but was never aware of this - what are
the shortcuts there?

> 
> Some will recall that I have discussed this before, so I hate to
> be redundant, but I believe this is a very useful approach (and
> not exclusive to the highlight-all approach) and is sorely missed
> by OS X users. And it can be implemented in such a way that the
> more laborious approach is available in its current form--that's
> the way OS X does it, with sort of the "long" way and the "power
> user" way both available.

+1

This definitely sounds like a useful GSoC project?

Rainer

> 
> Jerry
> 

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      [email protected]

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSqXj0AAoJENvXNx4PUvmCE5YH/1D9Eyg0hfoGiLggMpJRwU/N
AnXybzYSoQ7bIA7CfLF0Y9S8muwH4rjQVBoLuMDEPXXWyxSwv+c/x6aaRHR2rx4d
pHV9R90ly37EYYhxEjkjadz2k0yxzRUoCzuASEshHBYaRdTKPkzFa9v+Km4uW9b0
dfv4CMfVFQCbNDiGSPBuFGk/7JVK6VxpFUsU8Ae+weFB2e7ZckUJ1Uj9rncfLDRM
eP8iXmquLYXbmeJoIxySdFyorrc2ZNCp0jyatLMTxFgE0l2EMM4Co5uyr9l347we
PWTeGzsXrBVEvoYBsCmPpGv7z8A5ycWuysTKyFWF67GLqt1l8VMFSGAmdnX1wTg=
=e73O
-----END PGP SIGNATURE-----

Reply via email to