I just wrote my first SublimeText Snipped and wonder if I can all API commands. In the concrete case I have the following snippet:
<snippet>
<content><![CDATA[ public function set${1:fieldName}(\$${2:fieldName})
{
\$this->_${2:fieldName} = \$${2:fieldName};
}]]></content>
<tabTrigger>set</tabTrigger>
<scope>source.php</scope>
<description>public function set...(...){}</description>
</snippet>
and at the second occurrence of ${2:fieldName} I'd like convert the first char to lower case.