Utility class that adds certain multi-line features to standard windows Textboxes.

Constructors

GH_MultilineGooEditor

#
public GH_MultilineGooEditor()

Properties

Modified

#
public bool Modified { get; set; }
Gets or sets whether the contents of this text box have been modified. You don't typically need to use the setter.

ParsePaths

#
public bool ParsePaths { get; set; }
Gets or sets whether paths are to be parsed as paths.

Methods

Dispose

#
protected override void Dispose(bool disposing)
disposing (bool)

GetDataList<T>

#
public List<T> GetDataList<T>(T defaultInstance)
obsoleteThis control now supports trees, so consider calling SetDataTree() instead
Get the text box content as a list of goo.
defaultInstance (T)Base instance to use.
A list of data as represented by the textbox contents.

GetDataTree<T>

#
public GH_Structure<T> GetDataTree<T>()
Get the text box content as a list of goo.
A list of data as represented by the textbox contents.

SetDataList

#
public void SetDataList(IEnumerable<IGH_Goo> data)
obsoleteThis control now supports trees, so consider calling SetDataTree() instead
Assign a list of data to the textbox.
data (IEnumerable<IGH_Goo>)Data to assign. Null items and items which cannot emit proxies will be represented by empty lines.

SetDataTree

#
public void SetDataTree(IGH_Structure data)
Assign a list of data to the textbox.
data (IGH_Structure)Data to assign. Null items and items which cannot emit proxies will be represented by empty lines.