Outline mode for SubEthaEdit

What is this?

This is a mode for the collaborative text editor SubEthaEdit. It makes it easier to navigate in hiearchic outlines with this editor. I came to make it, because a friend and I used SubEthaEdit together to work on a project idea. This we did in a hierarchiv outline fashion mainly using the following syntax:

Titlee 1:
    - Sub A
    - Sub B
    - Sub C
        - Sub C.a
        - Sub C.b
            - Sub C.b.a
    - Sub D

Title 2:
    - Sub 2.A

For a document in this format, the outline mode prints the titles in a bold font and makes the first two hierarchies available in SubEthaEdit's symbol browser for quick navigation.

Known problems

The outline mode currently only works for document that use exactly four spaces indention. I'll try to make this more flexible.

Download

Installation

Extract the downloaded archive and move the resulting file Outline.mode into the directory ~/Library/Application Support/SubEthaEdit/Modes. After restarting SubEthaEdit, the mode will be available in the modes list. For any files ending in the extension "outline", the mode will automatically be invoked.