More lines of context captured
mattrobenolt opened this issue · comments
Matt Robenolt commented
Right now, 4 lines of context are being captured. 2 lines before, the offending line, then one line after.
Think we can configure to say, "Grab 11 lines of context"? I'll submit a pull request if this sounds reasonable for you.
Onur C. Cakmak commented
Sounds good to me. As always, PRs are welcome :)
Devin Rhode commented
yeah that would be pretty cool to be able to say something like:
TraceKit.surroundingLinesToCollect = 11
Could name it: TraceKit.contextLines
or TraceKit.numContextLines
but the word 'context' is slightly confusing in the first place. surroundingLinesToCollect
is 100% clear by itself.