EmEditor Home - EmEditor Help - Command Reference - Edit category

Comment command

Summary

Comments out the selection or current line.

Description

Comments out the selected area by inserting the comment marks at the beginning and end of the selection. If there is no selection, this command comments out the current line. This command does not apply to text-only configurations.

How to Run

Plug-in Command ID

Macros

[JavaScript]

editor.ExecuteCommandByID(4371);

[VBScript]

editor.ExecuteCommandByID 4371

Copyright 2003-2014 by Emurasoft, Inc.