[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [StrongED] mode file for Impression DDF

In message <9cdd7bb753.jim@xxxxxxxxxxxxxx>
          Jim Nagel <stred@xxxxxxxxxxxxxxxx> wrote:

> Has anybody ever concocted a StrongEd mode for Impression DDF?  A
> search of subject lines in this list turns up nothing on the topic.

Yes, I have a very basic DDF mode. Only provides syntax highlighting
for commands inside '{}' and folding for style definitions.

> The modes database has a very old one called CConcepts, but it seems
> to predate the Document Description File that you get when you do
> "save as story" out of Impression.

The cconcepts mode modifies some of StrongED keybindings to match those
used by Impression. It doesn't do syntax highlighting or folding.

> I'd have a go at defining a mode myself, but the learning curve looks
> steep for a StrongEd nearly-novice.  If I had the beginnings of a mode
> file to play with, I could happily add bits of my own.

You could start by copying an existing mode and having a good look at
it. Then empty its ModeFile and ModeWhen and put in your own stuff.

Anyway, the DDF mode and a short piece on how to create modes can be
found here: http://www.stronged.iconbar.com/archives/misc/ddfmode.zip

Copy the mode to UserPrefs and, if you have StrongED already running,
open the iconbar menu and select 'Rescan -> Modes' to make the mode
available from the Modes menu.


StrongED Developer

To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxxxxx
List archives at http://www.Torrens.org.uk/RO/StrongED/index.html