[fpc-pascal] Need Advice: Teaching a Child Programming

Martin Frb lazarus at mfriebe.de
Wed Mar 6 20:46:55 CET 2019


On 06/03/2019 20:26, Martin Frb wrote:
> On 06/03/2019 20:04, Anthony Walter wrote:
>>
>> How does this sound to you guys?
>>
> Like a good deal of work.
>
> - Adding a menu, and a form in a new package are trivial.
> - Storing your settings
> - Make an encrypted connection
> - The main bit of work:
> SourceEditorInteface allows you to be notified of changes.  You need:
>  -- text changes (not just keypress). You may need to add a self 
> written plugin to synedit to get senrEditAction (not sure, there may 
> be easier ways)
>  -- change of caret and selection. Those are in the StatusChange event 
> of SynEdit
Actually scrap that.

The teacher wants his editor to be a slave-editor to the student.

multiple synedits can already work on the same textbuffer.

All you need is a TSynEditStrings that forwards all methods over the 
network.
It will also need a cache, or paint events will be deadly slow.



More information about the fpc-pascal mailing list