[Pydev-cvs] org.python.pydev/src/org/python/pydev/editor/codecompletion/revisited AbstractASTManager
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2006-03-18 17:11:55
|
Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/codecompletion/revisited In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30488/src/org/python/pydev/editor/codecompletion/revisited Modified Files: AbstractASTManager.java Log Message: Ok, the nested modules thing still needs to be better checked, but some 'basic' support has been added (check SourceModule.getGlobalTokens) Index: AbstractASTManager.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/codecompletion/revisited/AbstractASTManager.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** AbstractASTManager.java 8 Feb 2006 17:58:29 -0000 1.5 --- AbstractASTManager.java 18 Mar 2006 17:11:51 -0000 1.6 *************** *** 652,656 **** if(modRep.equals(tok)){ ! return findOnImportedMods(importedModule, tok, nature, activationToken, currentModuleName); } } --- 652,662 ---- if(modRep.equals(tok)){ ! String act = activationToken; ! // String act = act.substring(tok.length()); ! // if(act.startsWith(".")){ ! // act = act.substring(1); ! // } ! ! return findOnImportedMods(importedModule, tok, nature, act, currentModuleName); } } |