Code template snippet for 'for' and 'proc' has syntax errors. release701
authorSubhashini Sooriarachchi <subslk@netbeans.org>
Wed, 09 May 2012 09:33:09 +0530
branchrelease701
changeset 224d20bbbaca819
parent 223 2179ea8c5a47
child 225 e66f88dfa861
Code template snippet for 'for' and 'proc' has syntax errors.
PLSQL/Formatter/src/org/netbeans/modules/plsql/format/resources/snippets.xml
     1.1 --- a/PLSQL/Formatter/src/org/netbeans/modules/plsql/format/resources/snippets.xml	Tue May 08 16:52:33 2012 +0200
     1.2 +++ b/PLSQL/Formatter/src/org/netbeans/modules/plsql/format/resources/snippets.xml	Wed May 09 09:33:09 2012 +0530
     1.3 @@ -11,10 +11,8 @@
     1.4     ${cursor}]]></code>
     1.5      </codetemplate>
     1.6      <codetemplate abbreviation="for" xml:space="preserve">
     1.7 -        <code><![CDATA[FOR rec_ IN ${cursor} LOOP
     1.8 -   BEGIN
     1.9 -      ${cursor}
    1.10 -   END;
    1.11 +        <code><![CDATA[FOR rec_ IN ${cursor} LOOP   
    1.12 +      ${cursor}   
    1.13  END LOOP;]]></code>
    1.14      </codetemplate>
    1.15      <codetemplate abbreviation="wl" xml:space="preserve">
    1.16 @@ -60,7 +58,7 @@
    1.17     ${cursor} )
    1.18  IS
    1.19  BEGIN
    1.20 -   General_SYS.Init_Method(lu_name_, &PKG, '${proc_name}');   
    1.21 +   General_SYS.Init_Method(lu_name_, '&PKG', '${proc_name}');   
    1.22  
    1.23  END ${proc_name};]]></code>
    1.24      </codetemplate>