Page 1 of 1

Show LINES before/after line with found text

Posted: Sat Aug 28, 2010 11:21 am
by Stefan
I know

Options > Preview
> [ � ] Max. chars before/after found text


But i like an feature like:
Options > Preview
> [ � ] Max. LINES before/after line with found text


Probably as XOR?
Use "Max chars" OR "Max lines"


That way i didn't have to try&error how many chars
i had to set at this options to see one line before&after
the line with found text.


What do you think ? ;-)

Posted: Sat Aug 28, 2010 11:48 pm
by Fool4UAnyway
Further alternatives:

- Use the minimum of Max. Chars and Max Lines, so no more than Max Lines are shown if they contain less than Max. Chars
- Use the maximum of Max. Chars and Max Lines, so at least both criteria are met

Yet another (separate) option:

- Show only complete lines, making sure all lines that meet any of the criteria above are shown by their full contents

Posted: Sat Aug 28, 2010 11:50 pm
by Fool4UAnyway
... if they contain less than Max. Chars

->- if toegether they contain less than Max. Chars