Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31230/src/org/python/pydev/editor
Modified Files:
PyEditConfiguration.java
Log Message:
Context information being shown for completions
bug: http://sourceforge.net/tracker/index.php?func=detail&aid=1939296&group_id=85796&atid=577329
Index: PyEditConfiguration.java
===================================================================
RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/PyEditConfiguration.java,v
retrieving revision 1.56
retrieving revision 1.57
diff -C2 -d -r1.56 -r1.57
*** PyEditConfiguration.java 4 Apr 2008 02:54:50 -0000 1.56
--- PyEditConfiguration.java 12 Apr 2008 13:04:08 -0000 1.57
***************
*** 329,335 ****
- // The presenter instance for the information window
- private static final DefaultInformationControl.IInformationPresenter presenter = new PyInformationPresenter();
-
/*
* (non-Javadoc)
--- 329,332 ----
***************
*** 338,346 ****
*/
public IInformationControlCreator getInformationControlCreator(ISourceViewer sourceViewer) {
! return new IInformationControlCreator() {
! public IInformationControl createInformationControl(Shell parent) {
! return new DefaultInformationControl(parent, presenter);
! }
! };
}
--- 335,339 ----
*/
public IInformationControlCreator getInformationControlCreator(ISourceViewer sourceViewer) {
! return PyContentAssistant.createInformationControlCreator(sourceViewer);
}
|