Fix bug when mouse cursor got out of the widget
Add way to get previous line (line before current cursor) position.