[Pydev-cvs] org.python.pydev/src/org/python/pydev/editor/correctionassist/heuristics AssistOverrid
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2006-09-24 01:03:19
|
Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/correctionassist/heuristics In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12852/src/org/python/pydev/editor/correctionassist/heuristics Modified Files: AssistOverride.java Log Message: Completion on parameters Index: AssistOverride.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/correctionassist/heuristics/AssistOverride.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** AssistOverride.java 1 Jul 2006 01:47:52 -0000 1.16 --- AssistOverride.java 24 Sep 2006 01:03:16 -0000 1.17 *************** *** 50,54 **** String[] strs = PySelection.getActivationTokenAndQual(ps.getDoc(), ps.getAbsoluteCursorOffset(), false); String tok = strs[1]; ! CompletionState state = new CompletionState(ps.getStartLineIndex(), ps.getAbsoluteCursorOffset() - ps.getStartLine().getOffset(), null, nature); CompletionRequest request = new CompletionRequest(file, nature, ps.getDoc(), "self", ps.getAbsoluteCursorOffset(), 0, new PyCodeCompletion(), ""); IToken[] selfCompletions = PyCodeCompletion.getSelfCompletions(request, new ArrayList(), state, true); --- 50,54 ---- String[] strs = PySelection.getActivationTokenAndQual(ps.getDoc(), ps.getAbsoluteCursorOffset(), false); String tok = strs[1]; ! CompletionState state = new CompletionState(ps.getStartLineIndex(), ps.getAbsoluteCursorOffset() - ps.getStartLine().getOffset(), null, nature,""); CompletionRequest request = new CompletionRequest(file, nature, ps.getDoc(), "self", ps.getAbsoluteCursorOffset(), 0, new PyCodeCompletion(), ""); IToken[] selfCompletions = PyCodeCompletion.getSelfCompletions(request, new ArrayList(), state, true); |