[Pydev-cvs] org.python.pydev/src/org/python/pydev/editor/autoedit PyAutoIndentStrategy.java,1.40,1.4
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2006-04-17 15:22:11
|
Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/autoedit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32419/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.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** PyAutoIndentStrategy.java 17 Apr 2006 13:27:53 -0000 1.40 --- PyAutoIndentStrategy.java 17 Apr 2006 15:21:57 -0000 1.41 *************** *** 57,61 **** if (offset > 0) { PySelection selection = new PySelection(document, offset); ! String lineWithoutComments = PySelection.getLineWithoutCommentsOrLiterals(selection.getLine()); int smartIndent = determineSmartIndent(document, offset, selection); --- 57,61 ---- if (offset > 0) { PySelection selection = new PySelection(document, offset); ! String lineWithoutComments = PySelection.getLineWithoutCommentsOrLiterals(selection.getLineContentsToCursor()); int smartIndent = determineSmartIndent(document, offset, selection); |