[ ANN ] Release 8.1.0 RC-1
Richard Gaskin
ambassador at fourthworld.com
Thu Aug 25 17:03:26 EDT 2016
Monte Goulding wrote:
> Richard wrote:
>> Any chance we can have the scriptTextFont and scriptTextSize global
>> properties reinstated as the mechanism for that?
>>
>> http://quality.livecode.com/show_bug.cgi?id=11596
>
> After reading the report I’m not really sure if they are deprecated
> or not…
They worked in the MC IDE, and IIRC in the Revolution IDE for a while as
well.
Maybe what happened is that during the major Script Editor overhaul
someone who wasn't familiar with the long history of those HyperTalk
properties replaced them with scripted alternatives.
I like Panos' suggestion:
> Could we probably set them on startup?
>
> put revIDEGetPreference("cScriptEditor,editor,font") into scriptTextFont
> put revIDEGetPreference("cScriptEditor,editor,fontSize") into
scriptTextSize
You'll also want to use those properties for any getters as well, given
that they are global and perhaps settable by third-party plugins.
--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web
____________________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
More information about the use-livecode
mailing list