Toggle Narrowing command

Summary

Turns narrowing on or off so that only the selection is editable.

Description

Sets or resets only the selection (whole logical lines including the selection) as editable area and make the rest inaccessible.

How to Run

  • Default Menu: Edit > Narrowing

  • All Commands: Edit > Narrowing > Toggle Narrowing

  • Toolbar:

  • Status Bar: None

  • Default Keyboard Shortcut: None

Plug-in Command ID

EEID_NARROWING_TOGGLE (4456)

Macros

[JavaScript]

editor.ExecuteCommandByID(4456);

[VBScript]

editor.ExecuteCommandByID 4456