code-surfer icon indicating copy to clipboard operation
code-surfer copied to clipboard

Allow to use negative line indices to reference lines from the end (e.g. 0 or -1 for the last line)

Open vlsi opened this issue 5 years ago • 0 comments

Samples:

1:-1 -- focus from the first to the last line. It would be equivalent to 1:5 in case the code has 5 lines 2:-2 -- focus from the second line to the last but one. It would be equivalent to 2:4 in case the code has 5 lines

WDYT?

vlsi avatar Jun 26 '20 19:06 vlsi