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

[StrongED] Re: StrongEd v4.70a11 and Modes



In article <66d1ae0b56.fjgraute@xxxxxxxxx>,
   Fred Graute <fjgraute@xxxxxxxxx> wrote:
> The only thing I've written that might be considered to be in that
> category is a brief introduction on how to create a new StrongED mode.
> There are also a couple of manuals that were started by other people,
> but never finished. They are a bit old now but I've sent you copies as
> they might still be useful.

Thanks Fred for those. I have looked at them and other references, albeit
briefly.

After following WriteMode, I have a couple of minor specific comments on
it which might confuse new users...

1.  'Now click on the right most icon of the Toolbar of the view
displaying the ModeFile.' This gives the security message, which needs
replying to.

2.  'Clicking Write will insert a SyntaxWords definition into the
ModeFile' no - it enters it after foobar, as the NewFile window has
focus! 

I have not explored it yet, but I assume the ModeFile menu enables all
the other elements of a ModeFile to be entered easily, and the Help ->
Reference -> Modefile gives the gory details.

I also assume that you only need to add to a mode file what is different
to BaseMode.

The reason I am interested in modes is that I want to print text at a
reduced size, say 99 chars/line and 99 lines/page. I suspected the only
way to do this was to create a TextPrint mode which did this, hopefully
with just the font sizes different.

I thought your WriteMode would help, or the Help ... but I can see no
trace of fonts in the BaseMode Modefile at all! Yet I can see it in the
BaseMode Choices dialog. 

The font stuff seems to live in BaseMode.Choices. 

Can I just include the lines I want to change in my TextPrint.Choices? Or
does it have to be a complete copy? I can find no obvious details of
Choices in Help.

Is this the best way to enable printing using a smaller font size than
the display?

Thanks for all the comments - my understanding is improving!

Martin

-- 
Martin Avison      using a British Iyonix running RISC OS 5 
                   and the Pluto mail and newsreader

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