----boundary-LibPST-iamunique-1222814910_-_-
Content-type: text/plain
I wrote a utility that could do this sort of
thing.
Actually it did simple local textual analysis, then
allocated different colours to keywords, numbers,
procedures, and variables. It guessed what was what
by simply assuming that capitalisation conventions
were being adherred to. Not computer science, but good enough.
The reason for doing this was to make life seem a little
more familiar to a Java user who needed to use BlackBox
for a short while for a specific task.
The point of my email is this: I implemented the above
functions by dropping a 'Wrapper' onto a standard Text.
This worked fine, with the colour coding happening automatically
as you typed. But BlackBox does not really like Wrapped Views.
Firstly the blue diamonds in Trap texts could not find the right
source code lines, then we noticed that the 'F9' file compare
utility does not work with Wrapped Texts.
Is using Wrappers to extend functionality (is this called
'Composition' rather than 'Extension'?) an obsolete/discredited
technique, or have I simply found some bugs in the Trap & F9 routines?
Regards
Robert
--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy
----boundary-LibPST-iamunique-1222814910_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIFxwYXINCkkgd3JvdGUgYSB1dGlsaXR5IHRoYXQg
Y291bGQgZG8gdGhpcyBzb3J0IG9mXHBhcg0KdGhpbmcuXHBhcg0KXHBhcg0KQWN0dWFsbHkgaXQg
ZGlkIHNpbXBsZSBsb2NhbCB0ZXh0dWFsIGFuYWx5c2l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