SnippetChunk.setSpec

Sets the specification for the chunk.

The specification is evaluated for variables when other chunks are edited within the snippet context. If the user has changed the text, the propertySnippetChunk:text and propertySnippetChunk:text-set properties are updated.

class SnippetChunk
void
setSpec
(
string spec
)

Parameters

spec string

the new specification for the chunk