]> git.gir.st - VimFx.git/commit
Move viewport calculations from hints.coffee to utils.coffee
authorSimon Lydell <simon.lydell@gmail.com>
Tue, 19 Apr 2016 18:16:40 +0000 (20:16 +0200)
committerSimon Lydell <simon.lydell@gmail.com>
Tue, 19 Apr 2016 18:16:40 +0000 (20:16 +0200)
commit7203c03073234515049bc0ddeebd832d543cec1c
treeb1778c6df467ff1fac49e4a1359cb779914f630a
parent2f71c0b50e95f6bb7ad57313942d02dc45066c80
Move viewport calculations from hints.coffee to utils.coffee

It's cleaner and more reusable.

This also fixes a slight bug for markers in frames. Previously, if the frame had
padding and/or borders its calculated viewport was a tiny bit too large. Now,
padding and borders are taken into account.
extension/lib/commands-frame.coffee
extension/lib/commands.coffee
extension/lib/hints.coffee
extension/lib/utils.coffee
Imprint / Impressum