Formatting scripts in a field

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Formatting scripts in a field

Mike Bonner via use-livecode
Some time ago there was a thread about formatting 'directly' the text of a
field or the selection of a field, without using manually the script editor:

I couldn't find a follow-up, so just in case this is not (publicly) solved,
here one way to do that.

Formatting/Beautifying means colorisation AND indentation.

So the following stack is complementary to the well known helper stacks of
Max V. and Paul H.
If you are interested you may try stack #91 in the Raspi collection:
The main script has 65 lines and simply prepares calls to handlers of LC's
script editor. Works (tested, slow only with LC 7) on Mac/Win/Linux/Raspi using latest of LC 6/7/8/9 (Raspi 6.5.1 and 7.0.4).
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences: