gutterlines: improve positioning of lines
gutterlines: improve positioning of lines

If we have line positions that could be set on the first or last line,
then we need to use some heuristics to try to remove line-height
alterations. Doing so improves our chances of placing the line number
aligned with the line text.

GNOME/gtksourceview,GNOME/gtksourceview,GNOME/gtksourceview,GNOME/gtksourceview,GNOME/gtksourceview,GNOME/gtksourceview,GNOME/gtksourceview,GNOME/gtksourceview,GNOME/gtksourceview,GNOME/gtksourceview,GNOME/gtksourceview,GNOME/gtksourceview,GNOME/gtksourceview,GNOME/gtksourceview,GNOME/gtksourceview