[Pydev-cvs] org.python.pydev.refactoring/src/org/python/pydev/refactoring/core/edit AbstractTextEd
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2008-06-14 22:14:27
|
Update of /cvsroot/pydev/org.python.pydev.refactoring/src/org/python/pydev/refactoring/core/edit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27905/src/org/python/pydev/refactoring/core/edit Modified Files: AbstractTextEdit.java Log Message: Using faster version of StringBuffer: FastStrintgBuffer / Better icons for auto-import. Index: AbstractTextEdit.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.refactoring/src/org/python/pydev/refactoring/core/edit/AbstractTextEdit.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** AbstractTextEdit.java 20 Oct 2007 19:31:04 -0000 1.5 --- AbstractTextEdit.java 14 Jun 2008 22:14:34 -0000 1.6 *************** *** 10,13 **** --- 10,14 ---- import org.eclipse.text.edits.TextEdit; + import org.python.pydev.core.structure.FastStringBuffer; import org.python.pydev.parser.jython.SimpleNode; import org.python.pydev.refactoring.ast.adapters.IASTNodeAdapter; *************** *** 66,70 **** protected String getIndentation(int indent) { ! StringBuffer buf = new StringBuffer(); while (indent > 1) { buf.append(WHITESPACE); --- 67,71 ---- protected String getIndentation(int indent) { ! FastStringBuffer buf = new FastStringBuffer(); while (indent > 1) { buf.append(WHITESPACE); |