package org.technbolts.jbehave.eclipse.editors.story.completion;

import org.eclipse.jface.text.IRegion;
import org.eclipse.jface.text.templates.Template;
import org.eclipse.jface.text.templates.TemplateContext;
import org.eclipse.jface.text.templates.TemplateProposal;
import org.eclipse.swt.graphics.Image;

public class StoryTemplateProposal extends TemplateProposal {

    public StoryTemplateProposal(final Template template,
            final TemplateContext context, final IRegion region,
            final Image image, final int relevance) {
        super(template, context, region, image, relevance);
    }
}

@@ -609,10 +609,172 @@
 ;%0A    %7D%0A
+    %0A    @Override%0A    public String getDisplayString() %7B%0A        // by default it is %3Cname%3E - %3Cdescription%3E%0A        return getTemplate().getDescription();%0A    %7D%0A
 %7D%0A

fix 'And' step management, completion rendering