[Pydev-cvs] org.python.pydev/src/org/python/pydev/editor/actions PyFormatStd.java,1.4,1.5
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2005-03-22 17:44:24
|
Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/actions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16269/src/org/python/pydev/editor/actions Modified Files: PyFormatStd.java Log Message: formatting error Index: PyFormatStd.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/actions/PyFormatStd.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** PyFormatStd.java 7 Mar 2005 17:36:12 -0000 1.4 --- PyFormatStd.java 22 Mar 2005 17:44:04 -0000 1.5 *************** *** 196,200 **** */ private static int findNextMulti(char[] cs, int i, char curr) { ! while(i < cs.length && cs[i] != curr){ i++; } --- 196,203 ---- */ private static int findNextMulti(char[] cs, int i, char curr) { ! while(i+2 < cs.length){ ! if (cs[i] == curr && cs[i+1] == curr && cs[i+2] == curr){ ! break; ! } i++; } |