[Pydev-cvs] org.python.pydev.refactoring/src/org/python/pydev/refactoring/ui/controls/preview PyPr
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/ui/controls/preview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27905/src/org/python/pydev/refactoring/ui/controls/preview Modified Files: PyPreviewConfiguration.java Log Message: Using faster version of StringBuffer: FastStrintgBuffer / Better icons for auto-import. Index: PyPreviewConfiguration.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.refactoring/src/org/python/pydev/refactoring/ui/controls/preview/PyPreviewConfiguration.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** PyPreviewConfiguration.java 27 Feb 2007 12:24:53 -0000 1.2 --- PyPreviewConfiguration.java 14 Jun 2008 22:14:34 -0000 1.3 *************** *** 22,25 **** --- 22,26 ---- import org.eclipse.swt.widgets.Shell; import org.python.pydev.core.IPythonPartitions; + import org.python.pydev.core.structure.FastStringBuffer; import org.python.pydev.editor.PyCodeScanner; import org.python.pydev.editor.PyColoredScanner; *************** *** 107,111 **** Preferences prefs = PydevPlugin.getDefault().getPluginPreferences(); int tabWidth = prefs.getInt(PydevPrefs.TAB_WIDTH); ! StringBuffer spaces = new StringBuffer(8); for (int i = 0; i < tabWidth; i++) { --- 108,112 ---- Preferences prefs = PydevPlugin.getDefault().getPluginPreferences(); int tabWidth = prefs.getInt(PydevPrefs.TAB_WIDTH); ! FastStringBuffer spaces = new FastStringBuffer(8); for (int i = 0; i < tabWidth; i++) { |