diff -r 918a6be6f051 -r 03d3adf59bde Templates/TemplatePropertiesDialog.py --- a/Templates/TemplatePropertiesDialog.py Sun Feb 07 14:18:01 2010 +0000 +++ b/Templates/TemplatePropertiesDialog.py Mon Feb 08 18:16:15 2010 +0000 @@ -126,7 +126,7 @@ """<table>""" """<tr><td>ml</td><td>Specifies a multiline formatting.""" """ The first line of the variable contents is prefixed with the string""" - """ occuring before the variable on the same line of the template.""" + """ occurring before the variable on the same line of the template.""" """ All other lines are prefixed by the same amount of whitespace""" """ as the line containing the variable.""" """</td></tr>""" @@ -143,6 +143,8 @@ """<td>the current year</td></tr>""" """<tr><td>project_name</td>""" """<td>the name of the project (if any)</td></tr>""" + """<tr><td>project_path</td>""" + """<td>the path of the project (if any)</td></tr>""" """<tr><td>path_name</td>""" """<td>full path of the current file</td></tr>""" """<tr><td>dir_name</td>""" @@ -153,6 +155,18 @@ """<td>like <i>file_name</i>, but without extension</td></tr>""" """<tr><td>ext</td>""" """<td>the extension of the current file</td></tr>""" + """<tr><td>cur_select</td>""" + """<td>the currently selected text</td></tr>""" + """<tr><td>insertion</td>""" + """<td>Sets insertion point for cursor after template is inserted.</td></tr>""" + """<tr><td>select_start</td>""" + """<td>Sets span of selected text in template after template is """ + """inserted (used together with 'select_end').</td></tr>""" + """<tr><td>select_end</td>""" + """<td>Sets span of selected text in template after template is """ + """inserted (used together with 'select_start').</td></tr>""" + """<tr><td>clipboard</td>""" + """<td>the text of the clipboard</td></tr>""" """</table></p>""" """<p>If you want to change the default delimiter to anything""" """ different, please use the configuration dialog to do so.</p>"""))