Quantcast
Channel: LiveCode Forums
Viewing all articles
Browse latest Browse all 757

Getting Started with LiveCode - Complete Beginners • Re: Apply visual formatting to unformatted code

$
0
0
Hi Eric,

there is an undocumented feature of the engine that LC uses to colorize the scripts in the script editor.
Here the script in a mouseup handler, I had copied a script into that field (field 1) without formatting:

CODE:

on mouseUp   _internal script colorize char 1 to (the number of chars of field 1) of field 1end mouseUp
Tested and works. :-)

Best

Klaus

P.S.
I'm not sure if this will also work in a standalone.

Statistics: Posted by Klaus — Thu Dec 19, 2024 4:24 pm



Viewing all articles
Browse latest Browse all 757

Trending Articles