extract simple cursor movement into DocumentEditor

Signed-off-by: Florian Thienel <florian@thienel.org>
5 files changed