how to prevent autocompletion by TAB ?

4 views
Skip to first unread message

aap

unread,
Sep 28, 2008, 4:47:37 AM9/28/08
to scintilla-interest
hello,

I'm using scintilla in wxPython,
I find it an amazing good editor (except that some parts are a little
bit too difficult for r me ;-)

With a autocompletion list, a TAB character starts the autocompletion,
for my purpose that's not very handy.

I tried to stop the TAB autocompletion by

self.AutoCompStops ( '\t' )

but doesn't seem to work.

Am I doing something wrong ?
Is there another solution ?
(wxPython rather uses an old version of Scintilla, might that be the
problem ?)

thanks,
Stef Mientki

Neil Hodgson

unread,
Oct 4, 2008, 7:29:46 AM10/4/08
to scintilla...@googlegroups.com
aap:

> With a autocompletion list, a TAB character starts the autocompletion,
> for my purpose that's not very handy.

The tab character is bound to the SCI_TAB command and it is SCI_TAB
that completes the insertion. To stop this clear the key binding with
SCI_CLEARCMDKEY and perform any interpretation of the tab key in your
own code.

Neil

Reply all
Reply to author
Forward
0 new messages