PLSQL Formatting Issue - Indent nested Functions and Procedures release701
authorSubhashini Sooriarachchi <subslk@netbeans.org>
Tue, 14 Feb 2012 16:11:59 +0530
branchrelease701
changeset 1660ba2732fc2c0
parent 165 3a2a9a082157
child 167 f9e14eb4fc5b
PLSQL Formatting Issue - Indent nested Functions and Procedures
PLSQL/Formatter/src/org/netbeans/modules/plsql/format/PlsqlFormatter.java
     1.1 --- a/PLSQL/Formatter/src/org/netbeans/modules/plsql/format/PlsqlFormatter.java	Tue Feb 14 10:31:27 2012 +0530
     1.2 +++ b/PLSQL/Formatter/src/org/netbeans/modules/plsql/format/PlsqlFormatter.java	Tue Feb 14 16:11:59 2012 +0530
     1.3 @@ -721,8 +721,6 @@
     1.4  
     1.5                  if ((imageTmp.equalsIgnoreCase("IF")
     1.6                          && (!imageTmpPre.equalsIgnoreCase(";")))
     1.7 -                        || (imageTmp.equalsIgnoreCase("EXCEPTION")
     1.8 -                        && (!imageTmpPre.equalsIgnoreCase(";")))
     1.9  	    || (imageTmp.equalsIgnoreCase("$IF")
    1.10                          && (!imageTmpPre.equalsIgnoreCase(";")))
    1.11  	    || (imageTmp.equalsIgnoreCase("$ERROR")
    1.12 @@ -731,8 +729,7 @@
    1.13                          && (!imageTmpPre.equalsIgnoreCase(";")))
    1.14  	    || (imageTmp.equalsIgnoreCase("CASE")
    1.15                          && (!imageTmpPre.equalsIgnoreCase(";")))
    1.16 -	    || (imageTmp.equalsIgnoreCase("BEGIN"))
    1.17 -                        || (imageTmp.equalsIgnoreCase("PACKAGE"))) {
    1.18 +	    || (imageTmp.equalsIgnoreCase("BEGIN"))) {
    1.19                      isParent = true;
    1.20                  }
    1.21