Fixes #2, created new function for determining the text displayed for folded lines.