What is a token
Bob Sneidar
bobsneidar at iotecdigital.com
Sun Apr 12 09:24:14 EDT 2020
Mark Wieder,
I think what we will have to do when you encounter an open block comment that is not followed by a close block comment in a single line is toggle a variable to true, and check each subsequent line for a close block comment, formatting everything in between, then toggling the variable to false.
I’ll go ahead and try an implement that and send you a fix. If the code is on Github, I’ll submit there.
Bob S
> On Apr 12, 2020, at 6:17 AM, Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> :-) That is exactly what I submitted to Mark Wieder as a fix. Am I becoming as smart as Mark Waddingham?? LOL!
>
> Bob S
>
>
>> On Apr 12, 2020, at 12:49 AM, Mark Waddingham via use-livecode <use-livecode at lists.runrev.com> wrote:
>>
>> If you want to see if a line starts with a multi-line comment then you should do:
>>
>> if word 1 of tLine begins with "/*" then ...
>>
>> Warmest Regards,
>>
>> Mark.
>>
>> --
>> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
>> LiveCode: Everyone can create apps
>
>
> _______________________________________________
> 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