Reading the document text from another thread

SyntaxEditor for Windows Forms Forum

Posted 17 years ago by Erel Uziel
Avatar
I've just found out about the SyntaxEditor control and it looks like a very good product.
As I want to implement this control in an existing application, I would like to use our own parser implementation.
What is the recommended way to read (only read) the document text from another thread?

Another question, if I purchase the SyntaxEditor pack, can I also use OwnerDrawMenuItems that are supplied with ActiproSoftware.WinUICore.dll ?

Comments (1)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Erel,

If you use our SemanticParserService, you can call back to any ISemanticParserServiceProcessor that you would like. That is a simple interface and in the Process method you are passed a request object that gives you a TextBufferReader property to access text. The SemanticParserService will already have this on the separate thread when Process is called.

Yes you can use anything in WinUICore that you would like.


Actipro Software Support

The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.