What is the actual heuristic?

I would also be fine with a simple one (if there's characters between the insertion point and the end of the line).