fix missing type length calculation in formatting function types
fix edge case of spacing being removed in single line implicit parameters
fix multiple parameterized type length calculation