rheostat2718 / conemu-maximus5

Automatically exported from code.google.com/p/conemu-maximus5
7 stars 1 forks source link

Add support for grouped results to highlight detection #1818

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
If I do:

$ git grep --heading --color --line-number PATTERN
SOME_FILE:
4: blah blah PATTERN
30: wibble wibble PATTERN
ANOTHER_FILE:
10: foo bar PATTERN baz

could you detect a number at the start of the line (the colon is colored) and 
find the filename above it, so that the filename and the line numbers could be 
linkified?

Original issue reported on code.google.com by sam.has...@gmail.com on 18 Nov 2014 at 1:26

GoogleCodeExporter commented 8 years ago
oops, git grep does not output a colon after the filename.

Original comment by sam.has...@gmail.com on 18 Nov 2014 at 1:27

GoogleCodeExporter commented 8 years ago
May be... Thought it will be nice with git diff rows too.
But now detector operates with visible screen only. The file name may be high 
above.

Original comment by ConEmu.Maximus5 on 18 Nov 2014 at 2:07

GoogleCodeExporter commented 8 years ago
visible screen would be acceptable, if it's more than that I'd want to grep 
again with a more restrictive pattern.

Original comment by sam.has...@gmail.com on 26 Nov 2014 at 12:45