~ubuntu-branches/ubuntu/gutsy/gedit/gutsy-proposed

« back to all changes in this revision

Viewing changes to plugins/snippets/data/tcl.xml

  • Committer: Bazaar Package Importer
  • Author(s): Aron Sisak
  • Date: 2007-08-01 12:06:47 UTC
  • mfrom: (1.1.31 upstream)
  • Revision ID: james.westby@ubuntu.com-20070801120647-42ay4v2j0qj68gs8
Tags: 2.19.3-0ubuntu1
* New upstream release:
  - New Features and Fixes
    - Remove color settings and syntax highlighting editor from the
      preferences dialog and use a style scheme selector
    - Many improvements to the snippets plugin, notably support for importing
      and exporting snippets, support for regex snippets and support for
      activating snippets on drag'n'drop
    - Split DocumentLoader and DocumentSaver in abstract class and
      subclasses for easier maintainance
    - Add a gconf preference for smart-home-end
    - Fix external tool saving bug 
    - Adapt to latest GtkSourceView API changes
    - Misc Bugfixes
  - New and updated translations:
    - gu, ko, sv, si, zh_CN, fi, eu, et, es, it, hu, nl, ja, th, ta
* debian/patches/01_lpi.patch,
  - updated
* debian/patches/02_gtksourceview2.0.patch:
  - dropped as got fixed upstream
* debian/patches/90_autoconf.patch:
  - updated with autoconf
* debian/control.in
  - bumped gtksourceview, python-pygtksourceview versions (>= 2.19.3)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0" encoding="UTF-8"?>
2
2
<snippets language="Tcl">
3
3
  <snippet id="foreach">
4
 
    <text><![CDATA[foreach ${1:var} ${2:\$list} {
 
4
    <text><![CDATA[foreach ${1:var} ${2:$list} {
5
5
        ${3}
6
6
}
7
7
]]></text>
9
9
    <tag>foreach</tag>
10
10
  </snippet>
11
11
  <snippet id="for">
12
 
    <text><![CDATA[for {${1:set i 0}} {${2:\$i < \$n}} {${3:incr i}} {
 
12
    <text><![CDATA[for {${1:set i 0}} {${2:$i < $n}} {${3:incr i}} {
13
13
        ${4}
14
14
}
15
15
]]></text>
25
25
    <tag>if</tag>
26
26
  </snippet>
27
27
  <snippet id="proc">
28
 
    <text><![CDATA[proc ${1:name} {${2:args}} \\
 
28
    <text><![CDATA[proc ${1:name} {${2:args}} \
29
29
{
30
30
        ${3}
31
31
}
34
34
    <tag>proc</tag>
35
35
  </snippet>
36
36
  <snippet id="switch">
37
 
    <text><![CDATA[switch ${1:-exact} -- ${2:\$var} {
 
37
    <text><![CDATA[switch ${1:-exact} -- ${2:$var} {
38
38
        ${3:match} {
39
39
                ${4}
40
40
        }