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

Re: [StrongED] mode file for Impression DDF



In message <159e63b853.jim@xxxxxxxxxxxxxx>
          Jim Nagel <stred@xxxxxxxxxxxxxxxx> wrote:

> Fred Graute  wrote on 10 Dec:
>
> > In message <9cdd7bb753.jim@xxxxxxxxxxxxxx>
> >           Jim Nagel <stred@xxxxxxxxxxxxxxxx> wrote:
> ...
> >> 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.
>
> Just out of idle curiosity, Fred, do you know how old this mode is?
> I'm guesing it is from the early 1990s and that the ostensible date
> 2011 appeared only when you added a version number to it.

IIRC the mode was present in se3.50 so it's from mid 90s or earlier.

> > Yes, I have a very basic DDF mode. Only provides syntax highlighting
> > for commands inside '{}' and folding for style definitions. ...
> > 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
>
> Many many thanks, Fred.  The "how to create modes" textfile is an
> enlightenment for me.  Have never seen that before.  Who wrote it?

I did. Don't remember exactly when or why, probably as an explanation to
someone, and then kept it in case it proved useful later on. It did :-)

It only explains just enough to get started with writing a mode. There's
a lot more to modes than creating a directory and a basic ModeFile.

> First para told me that "Strongmode" is a prerequisite, [..]

It's not required, you can write ModeFiles in any mode, but it offers a
couple of useful extras:

 - Toolbar icon to create a List-of-Found with ModeFile sections
 - Toolbar icons and keyboard shortcuts to easily insert sections
 - Keyboard shortcuts to insert StrongED$Tmp_xxx system variables
 - F1 look up of keywords and section names in the StrongED manual

> This is a great Christmas present; thanks.  --jim

Cheers,
Fred.

-- 
StrongED Developer
http://www.stronged.iconbar.com/

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