[Oberon] Locate/identify Char at cursor ?

Paul Reed paulreed at paddedcell.com
Mon Mar 4 21:28:51 CET 2013

> Date: Thu, 28 Feb 2013 07:49:40 +0200
> From: eas lab <lab.eas at gmail.com>
> Subject: [Oberon] Locate/identify Char at cursor ?

Hi Chris,

> AFAIK Display.Mod sets the RECORD which Oberon.Mod reads.
> ...AFAIK Display.Mod does the difficult job of finding the index in the
> text-stream of 'beg' and 'end', for possible later GetSelection.

No.  At least, in the original Project Oberon book, it's TextFrames.Mod
which does this work, by maintaining its own selection for each Frame.

The Display module (written in assembler in the original, ie therefore no
Display.Mod existed) is just a device driver for the pixel framebuffer,
and also, as it happens, an abstract root of the display object hierarchy


More information about the Oberon mailing list