Script Indenting?

Peter M. Brigham pmbrig at gmail.com
Sat Dec 12 09:40:41 EST 2015


Sorry, read your post too fast, you want to do indenting, not colorizing. But it sounds as if Mark Wieder has delved into some aspects of the script editor scripts, so maybe he can chime in.

-- Peter

Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig

On Dec 12, 2015, at 5:37 AM, Scott Rossi wrote:

> Thanks for the pointer.  I want to format script text that lives in a
> standard LC field for easier readability.  The script gets executed by a
> "do script" command.
> 
> Thanks & Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
> 
> 
> 
> 
> On 12/12/15, 2:32 AM, "use-livecode on behalf of Peter TB Brett"
> <use-livecode-bounces at lists.runrev.com on behalf of
> peter.brett at livecode.com> wrote:
> 
>> On 2015-12-12 11:22, Scott Rossi wrote:
>>> Anyone know where the script/rules for indenting a LiveCode script
>>> resides
>>> in the IDE?
>> 
>> Hi Scott,
>> 
>> The scriptFormat handler might be a good starting point:
>> 
>> https://github.com/livecode/livecode-ide/blob/develop/Toolset/palettes/scr
>> ipt%20editor/behaviors/revseeditorbehavior.livecodescript#L1052
>> 
>> What do you have in mind?
>> 
>>                                    Peter
>> 
>> -- 
>> Dr Peter Brett <peter.brett at livecode.com>
>> LiveCode Open Source Team
>> 
>> LiveCode on reddit! <https://reddit.com/r/livecode>
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list