Posted 19 years ago by Anthony
Version: 4.0.0236
Avatar

I'm modifying the sample Lexer highlighter ActiproSoftware.CSharp.xml file to change some highlighting behaviour.

For example I would like a multiline comment section background color to be WhiteSmoke, which works fine just on the text or white space. However I would like the background color to be for the entire region just not when the line terminates. Just like what happens in the HTML example for Script section. I hope I'm making myself understood.

Any assistance would be greatly appreciated,
Anthony.

Comments (1)

Posted 19 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Background regions like that can only be defined either via a span indicator or by using a child language. Since your comments will be defined by the lexical parser, you would have to use a child language that only consists of a comment to do this.


Actipro Software Support

The latest build of this product (v25.1.0) was released 20 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.