GH_ScriptEditor
ReferencesConstructors
Fields
InstanceTable
#Properties
Cache_AppDataDirectory
#Gets the directory in windows ApplicationData that contains the source code caches
Returns: A directory path.
Methods
AddButton
#Adds another button to the toolbar. Buttons should be added before the form is shown.
Parameters:
| button (GH_ScriptEditorButton) | Button to add. |
Close
#public void Close()
CodeEditor_TextChanged
#public void CodeEditor_TextChanged()
CompileTimerTick
#DefaultAssemblies
#obsoleteUse DefaultAssemblyLocations() instead
Get a list of all the assemblies that are included by default for Scripts. This list excludes mscorlib.dll as that one is considered non-omittable.
DefaultAssemblyLocations
#Get a list of all the assembly locations that are included by default for Scripts.
FindScriptEditor
#Find the editor that is already associated with an object.
Parameters:
| owner (IGH_DocumentObject) |
FocusOnSource
#public void FocusOnSource()
Collapses all code blocks except the one containing the mutable sections.
GetSourceCodeAsync
#SetCurrentPosition
#public void SetCurrentPosition(Point position)
Set the current caret position.
Parameters:
| position (Point) | Position to set. |
Show
#public void Show()