This project is read-only.

Autocomplete after a combination of letters

Topics: User Forum
Jun 9, 2011 at 2:56 PM


i want to show the autocomplete window after a combination of letters.

For example:

If i type in


the autocomplete window should appear.

If Scintilla1.GetWordFromPosition(Scintilla1.CurrentPos) = "<com:" Then
End If

... doesn't work for me.

Thanks in advance & Greetings ... Peter

Jun 9, 2011 at 6:21 PM

Might I suggest having a look at the 4.0 branch? As I implemented this feature through the xml config files. You'd want to add:

<TriggerString Value="<com:" />

in the auto-complete section, and it should work. Also, the 4.0 branch auto-alphabetizes the auto-complete list (yes, symbols work as well), although all of the lowercase letters appear completely after all of the capitol letters, I could change that if needed. Also, due to the method I'm using, only ASCII characters are supported in V4.0's auto-complete list. Again, if needed, this could be changed with a simple modification in the SkipList class. (replace where i use the ASCII encoding with the encoding you need)

Jun 10, 2011 at 8:20 AM
Edited Jun 10, 2011 at 8:25 AM

Hello blah38621,

thanks for your fast reply!


<TriggerString Value="&lt;com:" />


I put the trigger above in my xml.

Now (when i type <com:) the first entry in the autocomplete list is inserted immediately (without showing the autocomplete window).

Did i forget something to configure?

Thanks in advance & Greetings ... Peter


// Edit: Forget what i wrote above. I got a colon in 'FillUpCharacters'

After removing the colon it works like a charm. Thanks again! :-)

Jun 10, 2011 at 5:03 PM

Your Welcome. Anyone have a need for a regex version of this? As I've been thinking of adding it, as the current version is slightly limited.

Also, any other feature requests?