summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2013-01-29 07:47:47 +0100
committerFlorent Le Coz <louiz@louiz.org>2013-01-29 07:58:20 +0100
commit13b5ab4b656e851022db1c673a0c596960da2b50 (patch)
tree6693bb10ace6fc60732cf2d5ddc8d733cbbdf3df /plugins
parent80f689b2fa6ac0b662a3e8f52a80b1cebb555e21 (diff)
downloadpoezio-13b5ab4b656e851022db1c673a0c596960da2b50.tar.gz
poezio-13b5ab4b656e851022db1c673a0c596960da2b50.tar.bz2
poezio-13b5ab4b656e851022db1c673a0c596960da2b50.tar.xz
poezio-13b5ab4b656e851022db1c673a0c596960da2b50.zip
Makes next_hl and prev_hl work after a scroll_to_separator.
This makes it easy to review all the highlights after the separator was placed, using M-h, M-n, M-n, M-n… We just add a counter of highlights which is incremented each time there’s an hl, and set to zero when we reset the separator. We use that counter to set hl_pos when we scroll to the separator.
Diffstat (limited to 'plugins')
0 files changed, 0 insertions, 0 deletions