Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/correctionassist
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11038/src/org/python/pydev/editor/correctionassist
Modified Files:
PythonCorrectionProcessor.java
Log Message:
Index: PythonCorrectionProcessor.java
===================================================================
RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/correctionassist/PythonCorrectionProcessor.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** PythonCorrectionProcessor.java 24 Sep 2004 19:24:39 -0000 1.4
--- PythonCorrectionProcessor.java 8 Oct 2004 16:38:43 -0000 1.5
***************
*** 26,31 ****
/**
! * /** This class should be used to give context help
! * - Help depending on context (Ctrl+1):
*
* class A: pass
--- 26,32 ----
/**
! * This class should be used to give context help
! *
! * Help depending on context (Ctrl+1):
*
* class A: pass
***************
*** 33,50 ****
* class C:
*
! * def __init__(self, param): self.newMethod() <- create new method on class C <-
! * assign result to new local variable <- assign result to new field a = A()
! * a.newMethod() <- create new method on class A <- assign result to new local
! * variable <- assign result to new field
*
! * param. <- don't show anything.
*
! * self.a1 = A() self.a1.newMethod() <- create new method on class A <- assign
! * result to new local variable <- assign result to new field
*
! * def m(self): self.a1.newMethod() <- create new method on class A <- assign
! * result to new local variable <- assign result to new field
*
*
* @author Fabio Zadrozny
*/
--- 34,63 ----
* class C:
*
! * def __init__(self, param):
! * self.newMethod()<- create new method on class C (with params if needed)
! * <- assign result to new local variable
! * <- assign result to new field
*
! * a = A()
! * a.newMethod() <- create new method on class A
! * <- assign result to new local variable
! * <- assign result to new field
*
! * param.b() <- don't show anything.
*
! * self.a1 = A()
! * self.a1.newMethod() <- create new method on class A (difficult part is discovering class)
! * <- assign result to new local variable
! * <- assign result to new field
*
+ * def m(self):
+ * self.a1.newMethod() <- create new method on class A
+ * <- assign result to new local variable
+ * <- assign result to new field
*
+ * import compiler <- move import to global context
+ * NewClass() <- Create class NewClass (Depends on new class wizard)
+ *
+ *
* @author Fabio Zadrozny
*/
|