[Pydev-cvs] org.python.pydev/src/org/python/pydev/editor/correctionassist/heuristics AssistAssign.
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2008-04-09 00:43:42
|
Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/correctionassist/heuristics In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24709/src/org/python/pydev/editor/correctionassist/heuristics Modified Files: AssistAssign.java Log Message: Scoping problems on class definitions. Index: AssistAssign.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/correctionassist/heuristics/AssistAssign.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** AssistAssign.java 8 Apr 2008 23:05:39 -0000 1.16 --- AssistAssign.java 9 Apr 2008 00:43:47 -0000 1.17 *************** *** 59,64 **** PyEdit edit, int offset) throws BadLocationException { PySourceViewer viewer = null; ! if(edit != null){ ! edit.getPySourceViewer(); } --- 59,64 ---- PyEdit edit, int offset) throws BadLocationException { PySourceViewer viewer = null; ! if(edit != null){ //only in tests it's actually null ! viewer = edit.getPySourceViewer(); } |