Text line widget now displays the proper slice of the line
Added widget to draw a line with the cursor