Formatting problem with ending "/" release701
authorSubhashini Sooriarachchi <subslk@netbeans.org>
Wed, 18 Jan 2012 09:49:31 +0530
branchrelease701
changeset 134c396cf9ada04
parent 133 2bd941af5ece
child 135 1b3d928e8f32
Formatting problem with ending "/"
PLSQL/Formatter/src/org/netbeans/modules/plsql/format/PlsqlFormatter.java
     1.1 --- a/PLSQL/Formatter/src/org/netbeans/modules/plsql/format/PlsqlFormatter.java	Tue Jan 17 12:03:47 2012 +0100
     1.2 +++ b/PLSQL/Formatter/src/org/netbeans/modules/plsql/format/PlsqlFormatter.java	Wed Jan 18 09:49:31 2012 +0530
     1.3 @@ -596,8 +596,9 @@
     1.4                      //Get forward indentation difference
     1.5                      parentIndent = getIndentDiffOnPrevious(previousNWS, token/*pos.getToken()*/);
     1.6                  }
     1.7 -
     1.8 -                indent = getLineIndent(getPosition(previousNWS, 0), true);
     1.9 +                if(!previousNWS.getImage().equals("/")){
    1.10 +	indent = getLineIndent(getPosition(previousNWS, 0), true);
    1.11 +                }
    1.12                  indent = indent + parentIndent;
    1.13              }
    1.14