Problem with memberlist and hyphen

SyntaxEditor for Windows Forms Forum

Posted 14 years ago by Joachim Schwieren
Version: 4.0.0283

I have a problem with the memberlist and the hyphen character.

Open the SDI editor example application and open the code behind file for the dynamic HTML syntax language. Now go to the position where the memberlist with the HTML tags is filled and add two more items:


When you now start the demo and enter "<" the member list appears; start typing test and you see the two new entries. If you now continue typing "-" the word test-one is filled in and the member list closes.

In other word there is no way to make get the test-two entry by typing somting like "test-t"; if also checked the AllowedCharacters of the memberlist; the hyphen "-" is included there!

How can I solve this?



Comments (2)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Joe,

The member list creation code there should look like this:
IntelliPromptMemberList memberList = syntaxEditor.IntelliPrompt.MemberList;
The ! and - chars weren't added to the allowed characters before but should be for HTML, as shown above.

Actipro Software Support

Posted 14 years ago by Joachim Schwieren
Thanks, that did it!
The latest build of this product (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.