Please read my response in thread
http://groups.google.com/group/pyscripter/browse_thread/thread/4da7635ff3cee1fa
which offers a high level explanation of code completion in
PyScripter.
The code completion is making use of the SynEdit component
TSynCompletionProposal. The meat of the implementation is in the
methods SynCodeCompletionExecute in frmEditor and frmPythonII for the
editor and the interpreter respectively. The editor code completion
makes use of the python source scanning code in cPythonSourceScanner
and the refactoring code in cRefactoring.
Let me say though, that since the Blender object is a an built-in
module created inside the Blender executable and only available within
Blender, I do not see an easy root to what you want to achieve. If
you can make Blender work with the stand-alone WinPdb debugger (look
at the WinPdb information about embedded debugging) , it would be
probably easier to integrate WinPdb in PyScripter, something that is
planned anyway.