scriptTextFont
Monte Goulding
monte at sweattechnologies.com
Fri Dec 13 20:49:58 EST 2013
On 14/12/2013, at 12:45 PM, Richard Gaskin <ambassador at fourthworld.com> wrote:
> In LC 6.5 the scriptTextFont and scriptTextSize global properties are empty.
>
> How does one obtain the font and size set in prefs used by the script editor?
Here's some code from my diff field:
dispatch function "sePrefGet" to stack "revNewScriptEditor" with "editor,backgroundcolor"
set the backColor of me to the result
dispatch function "sePrefGet" to stack "revNewScriptEditor" with "editor,font"
set the textFont of me to the result
dispatch function "sePrefGet" to stack "revNewScriptEditor" with "editor,fontsize"
set the textSize of me to the result
_internal script colorize char 1 to (the number of chars of me) of me
>
> And why doesn't the IDE use the built-in properties for that?
No idea
--
Monte Goulding
M E R Goulding - software development services
mergExt - There's an external for that!
More information about the use-livecode
mailing list