Hi,
It would be usefull to also have a notification after the auto-completion/user-list. Currently the SCN_AUTOCSELECTION is fired *before* the text is inserted.
One need would be to allow post-process of the autocompletion, such as doing additional fill-ups. The SCI_AUTOCSETFILLUPS command is nice, however in some cases you want to add additional characters to the text (ie. "foo()" instead of "foo(" ). Unfortunately the SCN_AUTOCSELECTION notification will not tell you if SCI_AUTOCSETFILLUPS was used to select the list entry, so either this information should be included in the notification structure of SCN_AUTOCSELECTION, or a new notification after the text-insert event to allow post-process of the new text.
regards
bjarke
Logged In: YES
user_id=12579
Originator: NO
Are you aware that you can completely take over processing the selection by using SCI_USERLISTSHOW rather than SCI_AUTOCSHOW?
Logged In: YES
user_id=942046
Originator: YES
I see. It wasn't obvious from the documentation.
Looking at this at source level, it seems that auto-completion, among other things, does an ExtendWordSelect(). This is a nice functionality and I don't want to reimplement this and other features in my container - so I still feel Scintilla should also send an additional notification at completion (while still inside the undo-transaction).
regards
bjarke
Hello,
This is a very old post, however maybe some people are stil searching for this.
I am trying to show a calltip after the insertion of a word from an autocompletion List or userList. However I can't, as soon as I click on TAB I use the notification SCN_USERLISTSELECTION to launch my method for the calltip, but the word selected doesn't get autocompleted. I have the correct calltip but the word doesn't get filled automatically.
How do I have to use the User List to achieve that ? I want to know when a word had been inserted but it is done at the end of the SCN_USERLISTSELECTION notification and I don't know how to capture it.
Thank you in advance
Feature [feature-requests:#1109]: SCN_AUTOCCOMPLETED sent after completion with indication of completion cause.
Related
Feature Requests:
#1109