To allow spaces in autocompletion lists with the standard API change the separation character from space to something like new line with
http://www.scintilla.org/ScintillaDoc.html#SCI_AUTOCSETSEPARATOR
Thank you for your answers. But I still haven't solved my problem. I used the way you said
it can display more than one word in the list.
But I select the second row of the list and press enter, Only one word is displayed in the text------ "JUMP".. And not showing all the words "JUMP KA KKUKD”
The code looks like this (after omitting the icon set up):const char *words = "Babylon 5?1\nBattlestar Galactica\nMillennium Falcon?2\nMoya?2\nSerenity\nVoyager";[mEditor setGeneralProperty: SCI_AUTOCSETIGNORECASE parameter: 1 value:0];[mEditor setGeneralProperty: SCI_AUTOCSETSEPARATOR parameter: '\n' value:0];[mEditor setGeneralProperty: SCI_AUTOCSHOW parameter: 0 value:(sptr_t)words];Neil