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

this unnecessary whitespace should be removed