set_spec


Description:

public void set_spec (string spec)

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 [ property@SnippetChunk:text and] [property@SnippetChunk:text-set] properties are updated.

Parameters:

this

a SnippetChunk

spec

the new specification for the chunk