:''platform.apilevel = "1.0"'' or ''platform.apilevel = "2.0"''
:''platform.apilevel = "1.0"'' or ''platform.apilevel = "2.0"''
−
==on.create==
+
==Events==
−
[[on.create]] is removed in apilevel 2.0 and replaced with [[on.construction]].<br />
+
* [[on.create]] is removed in apilevel 2.0 and replaced with [[on.construction]]. This event handler is guaranteed to run before all others.<br />
−
This event handler is guaranteed to run before all others.<br />
+
* [[on.getFocus]] is called when the script receives user input focus.
+
* [[on.loseFocus]] is called when the script loses user input focus.
+
* [[on.getSymbolList]] is called when the script app symbol list is being serialized to the clipboard.
==Graphical operations==
==Graphical operations==
Line 61:
Line 63:
==Math==
==Math==
−
New : [[math.evalStr]], [[math.getEvalSettings]] and [[math.setEvalSettings]].<br />
+
+
*[[math.eval]] was revised to remove the optional argument exact and use current document settings, approximate mode, and full precision in platform.apilevel = '2.0'
+
* New : [[math.evalStr]], [[math.getEvalSettings]] and [[math.setEvalSettings]].<br />