Allow editor/adjust-loc to specify line movement

editor/adjust-loc accepts an optional argument of value :line or :ch
to specify the axis along which to move.
For backward compatibility, adjust-loc moves along :ch by default if no
optional argument is passed.