Author Topic: Selective Display "all" command surrounding context  (Read 848 times)

Dennis

  • Senior Community Member
  • Posts: 3998
  • Hero Points: 521
Selective Display "all" command surrounding context
« on: January 17, 2025, 05:01:54 PM »
When I use the "all" command to display all the lines matching a pattern, it would be useful to have one of two things:

1) An option to be able to specify the number of additional lines of context to expand surrounding the match.  (Also have this option on the Selective Display dialog)

2) A command to expand additional lines around a "+" line to view immediate context around a match like "seldisp-expand-context"

I run into this frequently when grokking through log files.  I collapse the log file down to the interesting lines, then want to see what went on around that time.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2919
  • Hero Points: 153
Re: Selective Display "all" command surrounding context
« Reply #1 on: January 17, 2025, 05:06:20 PM »
I like it. I'd use that.

hs2

  • Senior Community Member
  • Posts: 2762
  • Hero Points: 292
Re: Selective Display "all" command surrounding context
« Reply #2 on: January 17, 2025, 05:38:47 PM »
Me too  ;D

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 7031
  • Hero Points: 534
Re: Selective Display "all" command surrounding context
« Reply #3 on: February 05, 2025, 12:56:39 PM »
1 & 2 added to v30

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2919
  • Hero Points: 153
Re: Selective Display "all" command surrounding context
« Reply #4 on: February 05, 2025, 12:58:50 PM »
Cool.