overriding EditorCommands.CommentLines

SyntaxEditor for WPF Forum

Posted 14 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 14 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 (v24.1.2) was released 28 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.