Feature/goto line

I have two problems: 
- the line number is not calculated correctly when using head lines
- the input dialog should get current line and maximum line

Cursor movement seems to be rocket science in Qt5.