For other folks who use jedit, here is a little Mode script for editing stories to keep things looking nice: Just place this in your ~/.jedit/modes/ directory and add the MODE NAME tag to the catalog file in that same directory. It will become the editing mode for files that start with "story-". --- <?xml version="1.0"?> <!DOCTYPE MODE SYSTEM "xmode.dtd"> <!-- Rspec story mode by Jesse Heitler --> <!-- recommended mode catalog entry: <MODE NAME="rspec story" FILE="rspec_story.xml" FILE_NAME_GLOB="story-*" /> --> <MODE> <PROPS> <PROPERTY NAME="indentNextLines" VALUE="\s*((if\s+.*|Scenario:.*|Story:.*|)*)"/> </PROPS> <RULES ESCAPE="\" IGNORE_CASE="FALSE" HIGHLIGHT_DIGITS="FALSE"> <!-- A story --> <EOL_SPAN TYPE="LITERAL1">Story:</EOL_SPAN> <EOL_SPAN TYPE="LITERAL3">Scenario:</EOL_SPAN> <KEYWORDS> <KEYWORD1>Given</KEYWORD1> <KEYWORD1>When</KEYWORD1> <KEYWORD1>Then</KEYWORD1> <KEYWORD1>And</KEYWORD1> </KEYWORDS> </RULES> </MODE> --- Cheers, -J