~ubuntu-branches/ubuntu/trusty/kate/trusty

« back to all changes in this revision

Viewing changes to addons/kate/pate/src/plugins/expand/templates/switch.cpp.tpl

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell, Rohan Garg, Jonathan Riddell, Philip Muškovac
  • Date: 2014-03-19 10:38:16 UTC
  • mfrom: (1.1.42)
  • Revision ID: package-import@ubuntu.com-20140319103816-f5b5t0m6hnwclzcn
Tags: 4:4.12.90-0ubuntu1
[ Rohan Garg ]
* Update install files

[ Jonathan Riddell ]
* New upstream beta release

[ Philip Muškovac ]
* Override license-problem-json-evil for js_lint.py as the file only
  references the evil file

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
switch (/*% if expression %*//*< expression >*//*% else %*/${expression}/*% endif %*/)
 
2
{/*<nl>*/
 
3
/*%- if cases -%*/
 
4
/*%- for case in cases -%*/
 
5
case /*% if editable_cases -%*/
 
6
    /*< case | editable(name=case) >*/
 
7
/*%- else -%*/
 
8
    /*< case >*/
 
9
/*%- endif -%*/:/*%- if loop.first -%*/${cursor}/*% endif %*/
 
10
    break;/*<nl>*/
 
11
/*%- endfor -%*/
 
12
/*%- else -%*/
 
13
case ${case_1}:
 
14
    break;/*<nl>*/
 
15
/*%- endif -%*/
 
16
/*%- if default %*/
 
17
default:
 
18
    break;/*<nl>*/
 
19
/*%- endif -%*/
 
20
}
 
21
//# kate: hl C++