Formatting scripts in a field
hh at hyperhh.de
Wed Feb 15 16:28:10 EST 2017
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).
More information about the Use-livecode