[Pydev-cvs] org.python.pydev/src/org/python/pydev/editor/correctionassist/docstrings AssistDocStri
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2008-06-14 22:14:53
|
Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/correctionassist/docstrings In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27940/src/org/python/pydev/editor/correctionassist/docstrings Modified Files: AssistDocString.java Log Message: Using faster version of StringBuffer: FastStrintgBuffer / Better icons for auto-import. Index: AssistDocString.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/correctionassist/docstrings/AssistDocString.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** AssistDocString.java 1 Mar 2007 02:34:56 -0000 1.5 --- AssistDocString.java 14 Jun 2008 22:14:56 -0000 1.6 *************** *** 17,20 **** --- 17,21 ---- import org.python.pydev.core.bundle.ImageCache; import org.python.pydev.core.docutils.PySelection; + import org.python.pydev.core.structure.FastStringBuffer; import org.python.pydev.editor.PyEdit; import org.python.pydev.editor.actions.PyAction; *************** *** 45,49 **** String inAndIndent = delimiter + initial + indentation; ! StringBuffer buf = new StringBuffer(); String docStringMarker = DocstringsPrefPage.getDocstringMarker(); buf.append(inAndIndent + docStringMarker); --- 46,50 ---- String inAndIndent = delimiter + initial + indentation; ! FastStringBuffer buf = new FastStringBuffer(); String docStringMarker = DocstringsPrefPage.getDocstringMarker(); buf.append(inAndIndent + docStringMarker); |