This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Idle: hilite search terms in hits in Find in Files output window
Type: enhancement Stage: test needed
Components: IDLE Versions: Python 3.10
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: terry.reedy Nosy List: Saimadhav.Heblikar, terry.reedy
Priority: normal Keywords:

Created on 2014-06-05 20:09 by terry.reedy, last changed 2022-04-11 14:58 by admin.

Messages (1)
msg219842 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2014-06-05 20:09
Example that prompted this idea due to difficulty of scanning results. The code lines are relatively long and the hit range from first to (almost) last word in the line.

Searching 'future' in F:\Python\dev\2\py27\*.c...
...
F:\Python\dev\2\py27\Mac\Modules\cg\CFMLateImport.c: 53: //   future expansion of the APIs for things like CFMLateImportSymbol
F:\Python\dev\2\py27\Modules\_ctypes\libffi\src\dlmalloc.c: 3715:     /* On failure, disable autotrim to avoid repeated failed future calls */
F:\Python\dev\2\py27\Modules\fcntlmodule.c: 235: behavior will change in future releases of Python.\n\
...
Hits found: 130

I presume that is should be easy to tag hits both in first line (instead of marking with '') and the remainder and lightly color all tagged items.

When a test is a added to test_grep, the file should be examines to see what else is still missing in light of the recent addition of an htest.
History
Date User Action Args
2022-04-11 14:58:04adminsetgithub: 65872
2020-06-07 20:33:08terry.reedysetversions: + Python 3.10, - Python 3.6, Python 3.7
2017-06-19 23:20:17terry.reedysetcomponents: + IDLE
versions: + Python 3.6, Python 3.7, - Python 2.7, Python 3.4, Python 3.5
2014-06-05 20:09:58terry.reedycreate