Represents a list of source code blocks in a GH_ScriptEditor window.
Methods
Add
#GetAllLines
#Convert all blocks to a single array of lines and readonly flags.
GetMutableCodeBlock
#Get all the lines that belong to the Nth mutable code block.
Returns: An array of source code lines or null if there is no Nth block.
MergeConsecutiveBlocks
#Merge all consecutive blocks with identical readonly flags.
Returns: Number of blocks merged.