Only draw selection/backgrounds for actually existing text.
This simplifies the code a lot.
Looks more like other popular editors.
One could think about painting the small gap in the iconborder in selection color later depending if we are selected from previous line.
@waqar @dhaumann @ngraham