Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Command Reference > Edit category

EmEditor Command Reference: Comment command

Scroll Prev Top Next More
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

Default Menu: Edit > Convert Selection > Comment

All Commands: Edit > Convert Selection > Comment

Toolbar: editcomment

Status Bar: None

Default Keyboard Shortcut: None

Plug-in Command ID

EEID_EDIT_COMMENT (4371)

Macros

[JavaScript]

editor.ExecuteCommandByID(4371);

[VBScript]

editor.ExecuteCommandByID 4371

Copyright © 2003-2016 by Emurasoft, Inc.