A Jedit mode for stories

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"?>
    <!-- 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>

Cheers,

-J