properly compute next line indent