adding indention to debug printing in ApplySyntaxPattern