Add handling for gherkin prefix to fix auto completion in edit mode, text mode is made bold font.

we always use `is None`