overriding EditorCommands.CommentLines

SyntaxEditor for WPF Forum

Posted 13 years ago by Chris Thompson
Version: 10.1.0521
Can I somehow override the behavior of EditorCommands.CommentLines or should I create a Custom Edit Action instead?

Comments (1)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Chris,

The CommentLines command ends up calling the ILineCommenter that is registered as a service on your current language. So if you are trying to make new comment lines functionality then you could just make a new class that implements ILineCommenter and register that on your language instead.

Actipro Software Support

The latest build of this product (v22.1.4) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.