[QScintilla] Teaching QScintilla auto-complete of python modules

Andrew Cunningham qscintilla at a-cunningham.com
Thu May 18 18:52:50 BST 2017


Hi Detlev,
I did find a solution. PythonQT 3.1 does autocomplete in their
PythonConsole window and gives a good example on how to extract the API
from Python.

Andrew

On Thu, May 18, 2017 at 10:06 AM, Detlev Offenbach <detlev at die-offenbachs.de
> wrote:

> Hello Andrew,
>
> you may have a look into the eric IDE editor. It does all that and more.
>
> Detlev
>
> Am Donnerstag, 18. Mai 2017, 00:51:22 CEST schrieb Andrew Cunningham:
> > Hi,
> >
> > I’ve implemented a simple Python aware editor using QScintilla.
> >
> > I notice auto-complete (naturally) only works for only the python
> functions
> > that QScintilla ‘has encountered’ in the current editor session.
> >
> > I wanted to teach it about all the functions in a particular (loaded)
> > Python module. Obviously this will require calling into the Python API to
> > get the information from the module but it seems like this must have been
> > done before!
> >
> >
> > Thanks
> >
> > ANdrew
>
> --
> Detlev Offenbach
> detlev at die-offenbachs.de
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20170518/81693de7/attachment.html>


More information about the QScintilla mailing list