Take top padding into account in "local" coordinate space, fix bug in fromCoordSystem

Issue #1557
Add a lineAtHeight method

Issue #1556
[vim keymap] Fix reliance on bug in coordsChar