error indicators at the end of a document

SyntaxEditor for Windows Forms Forum

Posted 18 years ago by Peter Chapman

I would like to show an error indicator at the end of a document, when my semantic parser finds an EndOfDocument token. I can't set an indicator there, because it is past the end of the document.

Is this what VirtualSpaceAtDocumentEnd is for? I can't find much documentation about that feature.


Comments (1)

Posted 18 years ago by Actipro Software Support - Cleveland, OH, USA
Virtual space is the ability of the caret to move beyond the text characters of the document either past the newline character at the end of the line or past the last document line in the document, so that isn't really related.

We do have this item already on the TODO list. The problem is that the end of document currently does not draw a character and therefore no span indicator for that range will be displayed. So we need to change the drawing code to somehow allow for this.

Actipro Software Support

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.