Right alignment of string under cursor