Move grammar stuff to #checkTextForBlockStart