Commit a6669af
committed
add -ruler switch to column highlighter
the -ruler <character> switch on the column highlighter replaces the
column (for empty and whitespace cells) with <character>. this is useful
for drawing rulers. because rulers typically appear over whitespace
regions in other editors, we also do that here.
additionally, the color of the ruler should only be applied to the
ruler, so when -ruler <character> is provided, we do not apply the
<face> parameter to cells which are non-empty, aka where the ruler is
inserted.1 parent 5b67664 commit a6669af
2 files changed
+31
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
116 | 121 | | |
117 | 122 | | |
118 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
519 | 520 | | |
520 | 521 | | |
521 | 522 | | |
522 | | - | |
523 | | - | |
524 | | - | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
525 | 529 | | |
526 | 530 | | |
527 | 531 | | |
528 | | - | |
529 | | - | |
| 532 | + | |
530 | 533 | | |
531 | | - | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
532 | 543 | | |
533 | 544 | | |
534 | 545 | | |
| |||
563 | 574 | | |
564 | 575 | | |
565 | 576 | | |
566 | | - | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
567 | 583 | | |
568 | 584 | | |
569 | 585 | | |
| |||
574 | 590 | | |
575 | 591 | | |
576 | 592 | | |
577 | | - | |
| 593 | + | |
578 | 594 | | |
579 | 595 | | |
580 | 596 | | |
| |||
0 commit comments