"Intellisense" drop-down...

neilh at scintilla.org.bbs neilh at scintilla.org.bbs
Sun Jul 16 19:10:01 EDT 2000


> I have found no way of defining new key combinations to select the
currently
> highlighted word in the "Intellisense" drop-down list.  For example:
> ...
> I hightlight "Apply" and the only key I can use to make "Apply" appear and
> the list to disappear is "Tab".  I want other keys to trigger this.  The
> default.cfg file only lists this:

   When the previous post appeared about Ctrl+Enter in auto-completion, I
had a look at extending the keys that would choose an item and tried
changing this in Scintilla. This worked in other applications but not in
PythonWin as PythonWin intercepts keys before sending them on to Scintilla.
Then I went looking through PythonWin but the code was confusing so I gave
up.

    If you are interested in working on this, the Enter key calls
newline_and_indent_event in pywin\idle\AutoIndent.py. So you could intercept
it here or else bind Enter to your own event that calls the current
newline_and_indent_event only when no autocompletion is shown.

   Neil



More information about the Python-list mailing list