[QScintilla] Autocompletion of SQL identifier quotes

Phil Thompson phil at riverbankcomputing.com
Sun Sep 30 11:23:16 BST 2018


On 9 Sep 2018, at 7:49 pm, Manuel Gómez <mgrojo at gmail.com> wrote:
> 
> Hi,
> 
> I'd like to make DB4S (https://sqlitebrowser.org) to add the quote character when an SQL identifier is completed and was initiated with a quote. Is it possible to set up QScintilla for doing it?

There is no direct support for something like that.

> I'd like also to complete identifiers with embedded spaces, but although they are displayed in the list, the completion only writes until the first space.

The format is of a "word" (eg. a function declaration) followed an optional explaination.

You can achieve what you want in both cases but you would need to bypass the high-level API and use the low-level Scintilla API.

Phil


More information about the QScintilla mailing list