GH_CodeBlock

References
public class GH_CodeBlock
Represents a collection of lines of code in the GH_ScriptEditor window.

Constructors

GH_CodeBlock

#
public GH_CodeBlock()

GH_CodeBlock

#
public GH_CodeBlock(
lines,
readonly
)

GH_CodeBlock

#
public GH_CodeBlock(
line,
readonly
)

Properties

Lines

#
Gets or sets the line of code.
public IEnumerable<string> Lines { get; }

ReadOnly

#
Gets or sets the readonly state of the code.
public bool ReadOnly { get; set; }

Methods

AddLine

#
public void AddLine(
line
)

AddLines

#
public void AddLines()

ToString

#
public override string ToString()
Object.ToString