IDE Script Editor question...

Paul Dupuis paul at researchware.com
Thu Sep 22 17:08:36 EDT 2016


Ah ha. The insertion point must be INSIDE a handler and only re-indents
that handler when you press TAB

If the insertion point is between handlers or outside of any handler,
nothing happens. Ok, tab is useful, but something that reformatted ALL
handlers in a script would be even better.

Not perfect, but a step better than nothing. Thanks for the tip!


On 9/22/2016 4:17 PM, Peter Bogdanoff wrote:
> Does pressing the tab key fix it for you?
>
>> On Sep 22, 2016, at 12:52 PM, Paul Dupuis <paul at researchware.com> wrote:
>>
>> I find myself periodically working with stacks where the individuals
>> handlers come from a number of sources.
>>
>> Some of these sources have their script editor set to the default 3
>> space indent. Some to 2 spaces, some to 4 spaces, etc.
>>
>> Is there any easy way to tell the script editor to RE-indent all the
>> handlers in the current script using the current preference for indents?
>>
>> If not, can one of you coding wizards out there add this to the IDE? :-)
>>
>>
>> _______________________________________________
>> 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