[Oberon] Gadgets for SyntaxConstrainedEditor

Bob Walkden bob at web-options.com
Sun Mar 6 18:47:24 CET 2005


Hi easlab,

Sunday, March 6, 2005, 11:23:14 AM, you wrote:

> Why should we be punished to pick chars off a keyboard, a-la-1965,
> when we could pick structures which are constrained to be syntactically
> correct at each stage of the refinement process ?

> eg.
> Pick: 'NewSource' and 
>  See something like:---

>> MODULE NewSource;
>> 
>> END NewSource.
[...]

> It seems that Gadgets would be ideal for such a SyntaxEditor ?

why not just copy it from a template file?

Blackbox has "File | Open Stationery...", which you use to pick an
existing file. The system copies into a new, anonymous text which you
can edit and have to save with a new name. Simple.

-- 
Regards,
 Bob




More information about the Oberon mailing list