[Pydev-cvs] org.python.pydev/src/org/python/pydev/editor/autoedit PyAutoIndentStrategy.java,1.39,1.4
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2006-04-17 13:28:02
|
Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/autoedit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10574/src/org/python/pydev/editor/autoedit Modified Files: PyAutoIndentStrategy.java Log Message: Index: PyAutoIndentStrategy.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/autoedit/PyAutoIndentStrategy.java,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** PyAutoIndentStrategy.java 6 Apr 2006 23:42:33 -0000 1.39 --- PyAutoIndentStrategy.java 17 Apr 2006 13:27:53 -0000 1.40 *************** *** 141,145 **** final int i = indent.length() - indentationString.length(); if (i > 0 && indent.length() > i){ ! text = indent.substring(0, i+1); }else{ text = initial; // this can happen if we found a dedent that is 1 level deep --- 141,145 ---- final int i = indent.length() - indentationString.length(); if (i > 0 && indent.length() > i){ ! text = (initial+indent).substring(0, i+1); }else{ text = initial; // this can happen if we found a dedent that is 1 level deep |