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
 ____________________________________________________________________
 ambassa...@fourthworld.com                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to