Implementing a mergable programmatic lexer

SyntaxEditor for WPF Forum

Posted 11 years ago by Martin de Jong - Statistics Netherlands
In the documentation is stated:


A mergable programmatic lexer is made by creating a class that implements the IMergableLexer interface, although inheriting the MergableLexerBase class is the easiest way to accomplish this. When inheriting MergableLexerBase, the only method we are required to implement is the CreateToken method.

CreateToken doesnt have a reader as parameter; maybe GetNextToeken is meant, just as in a Simple language sample?

Comments (1)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Martin,

You are right... it should be GetNextToken instead of CreateToken. Thanks for letting us know about the typo.

Actipro Software Support

The latest build of this product (v2019.1 build 0685) was released 5 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.